code: def registered_subcommands(self):
      if not hasattr(self, "_registered_subcommands"):
          self._registered_subcommands = []
      return self._registered_subcommands
  
file_path: optimum/optimum/commands/base.py
imports: from abc import ABC
  from argparse import ArgumentParser, RawTextHelpFormatter
  from dataclasses import dataclass
  from typing import TYPE_CHECKING, Optional, Tuple, Type
label_desc: Use image node_id 4 for calling the BaseOptimumCLICommand obj's underlying member method code with example usage: obj.registered_subcommands() and returns: self