parameters: (self, name)
return_statement: return False
docstring: Faster check for ``name in self`` when we know `name` is a Python
          identifier (e.g. in NDFrame.__getattr__, which hits this to support
          . key lookup). For indexes that can't hold identifiers (everything
          but object & categorical) we just return False.
  
          https://github.com/pandas-dev/pandas/issues/19764
docstring_summary: Faster check for ``name in self`` when we know `name` is a Python
          identifier (e.g. in NDFrame.__getattr__, which hits this to support
          . key lookup). For indexes that can't hold identifiers (everything
          but object & categorical) we just return False.
docstring_tokens: Faster check for name in self when we know name is a Python identifier ( e . g . in NDFrame . __getattr__ which hits this to support . key lookup ) . For indexes that can t hold identifiers ( everything but object & categorical ) we just return False .
function: def _can_hold_identifiers_and_holds_name(self, name):
          """
          Faster check for ``name in self`` when we know `name` is a Python
          identifier (e.g. in NDFrame.__getattr__, which hits this to support
          . key lookup). For indexes that can't hold identifiers (everything
          but object & categorical) we just return False.
  
          https://github.com/pandas-dev/pandas/issues/19764
          """
          if self.is_object() or self.is_categorical():
              return name in self
          return False
function_tokens: def _can_hold_identifiers_and_holds_name ( self , name ) : if self . is_object ( ) or self . is_categorical ( ) : return name in self return False