code: def action_is_satisfied(action):
      ''' Returns False if the parse would raise an error if no more arguments are given to this action, True otherwise.
      '''
      num_consumed_args = getattr(action, 'num_consumed_args', 0)
  
      if action.nargs == ONE_OR_MORE and num_consumed_args < 1:
          return False
      else:
          if action.nargs is None:
              action.nargs = 1
          try:
              return num_consumed_args == action.nargs
          except:
              return Truf action_is_satisfied(action):
      ''' Returns False if the parse would raise an error if no more arguments are given to this action, True otherwise.
      '''
      num_consumed_args = getattr(action, 'num_consumed_args', 0)
  
      if action.nargs == ONE_OR_MORE and num_consumed_args < 1:
          return False
      else:
          if action.nargs is None:
              action.nargs = 1
          try:
              return num_consumed_args == action.nargs
          except:
              return True
docs: Returns False if the parse would raise an error if no more arguments are given to this action, True otherwise.