code: def parent(self):
      context = self._name.parent_context
      if context is None:
          return None
  
      if isinstance(context, FunctionExecutionContext):
          context = context.function_context
      return Definition(self._evaluator, context.name)
  
imports: import re
  from parso.python.tree import search_ancestor
  from jedi import settings
  from jedi.evaluate.utils import ignored, unite
  from jedi.cache import memoize_method
  from jedi.evaluate import imports
  from jedi.evaluate import compiled
  from jedi.evaluate.imports import ImportName
  from jedi.evaluate.context import instance
  from jedi.evaluate.context import ClassContext, FunctionExecutionContext
  from jedi.api.keywords import KeywordName
label_desc: Use image node_id 15 for calling the BaseDefinition obj's underlying member method code with example usage: obj.parent() and returns: Definition, None