docstr: Checks to see if --help or -h is passed in, and if so it calls our usage()
  if it exists.
  
  Since argparser thinks it is clever and automatically
  handles [--help, -h] we need a hook to be able to display
  our own usage notes before argparse
  
  Parameters
  ----------
  args : array[string]
      command arguments
docstr_tok: ["Checks","to","see","if","--","help","or","-h","is","passed","in",",","and","if","so","it","calls","our","usage","(",")","if","it","exists",".","Since","argparser","thinks","it","is","clever","and","automatically","handles","[","--","help",",","-h","]","we","need","a","hook","to","be","able","to","display","our","own","usage","notes","before","argparse","Parameters","--","--","--","--","--","args",":","array","[","string","]","command","arguments"]
code: def display_usage_message(self, args):
      """Checks to see if --help or -h is passed in, and if so it calls our usage()
      if it exists.
  
      Since argparser thinks it is clever and automatically
      handles [--help, -h] we need a hook to be able to display
      our own usage notes before argparse
  
      Parameters
      ----------
      args : array[string]
          command arguments
      """
  
      is_help = -1
      if "--help" in args:
          is_help = args.index("--help")
      if is_help == -1 and "-h" in args:
          is_help = args.index("-h")
  
      if is_help > -1 and hasattr(self, "usage"):
          self.usage()
  
file_path: datmo/datmo/cli/command/base.py
imports: from datmo.config import Config
  from datmo.core.util.i18n import get
  from datmo.core.util.exceptions import ClassMethodNotFound, PathDoesNotExist
  from datmo.cli.parser import get_datmo_parser
  from datmo.core.controller.task import TaskController
  from datmo.core.util.logger import DatmoLogger
  from datmo.core.util.misc_functions import parameterized, parse_paths
label_desc: Use image node_id 3 for calling the BaseCommand obj's underlying member method code with example usage: obj.display_usage_message(args) without return types