parameters: (self, name)
return_statement: return name in self.declared
docstring: Check if a name is declared in this or an outer scope.
docstring_summary: Check if a name is declared in this or an outer scope.
docstring_tokens: Check if a name is declared in this or an outer scope .
function: def is_declared(self, name):
          """Check if a name is declared in this or an outer scope."""
          if name in self.declared_locally or name in self.declared_parameter:
              return True
          return name in self.declared
function_tokens: def is_declared ( self , name ) : if name in self . declared_locally or name in self . declared_parameter : return True return name in self . declared