parameters: (self, sub: str)
return_statement: return self.text.find(sub, self.cursor_position) == self.cursor_position
docstring: `True` when this substring is found at the cursor position.
docstring_summary: `True` when this substring is found at the cursor position.
docstring_tokens: True when this substring is found at the cursor position .
function: def has_match_at_current_position(self, sub: str) -> bool:
          """
          `True` when this substring is found at the cursor position.
          """
          return self.text.find(sub, self.cursor_position) == self.cursor_position
function_tokens: def has_match_at_current_position ( self , sub : str ) -> bool : return self . text . find ( sub , self . cursor_position ) == self . cursor_position