code: def get_flag_style_optionals(self, actions):
      
      return [action
              for action in actions
              if isinstance(action, _StoreTrueAction)
              or isinstance(action, _StoreFalseAction)
              or isinstance(action, _StoreConstAction)]
docs: Gets all instances of "flag" type options.
      i.e. options which either store a const, or
      store boolean style options (e.g. StoreTrue).
      Types:
        _StoreTrueAction
        _StoreFalseAction
        _StoreConst