code: def _find_parser_action(cls, a_parser, name):
      # find by name
      # noinspection PyProtectedMember
      _actions = [
          (a_parser, a) for a in a_parser._actions if a.dest == name
      ]
      if _actions:
          return _actions
      # iterate over subparsers
      _actions = []
      # noinspection PyProtectedMember
      sub_parsers = [
          a
          for a in a_parser._actions
          if isinstance(a, _SubParsersAction)
      ]
      for sub_parser in sub_parsers:
          for choice in sub_parser.choices.values():
              # recursively parse
              _action = cls._find_parser_action(choice, name)
              if _action:
                  _actions.extend(_action)
      return _actions
  
imports: import yaml
  from enum import Enum
  from inspect import isfunction
  from six import PY2
  from argparse import _StoreAction, ArgumentError, _StoreConstAction, _SubParsersAction, _AppendAction, SUPPRESS
  from copy import copy
  from typing import Tuple, Type, Union
  from ...backend_api import Session
  from ...binding.args import call_original_argparser
  from ...utilities.proxy_object import get_type_from_basic_type_str
label_desc: Use image node_id 9 for calling the _Arguments obj's underlying member method code with example usage: obj._find_parser_action(cls, a_parser, name) and returns: _actions, _actions