Determine if this is available by walking up the enclosing scopes until a function is found.
where to start looking for the enclosing function
Found function if it satisfies isThis(), otherwise null
See Implementation
Determine if this is available by walking up the enclosing scopes until a function is found.