def _existing_scope(self, arg):
    if arg in self._known_args:
      return self._scope
    elif self._parent_parser:
      return self._parent_parser._existing_scope(arg)
    else:
      return None
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/option/parser.py/Parser._existing_scope/original