def is_standard(action):
 boolean_actions = (_StoreConstAction, _StoreFalseAction, _StoreTrueAction)
 return ((not action.choices) and (not isinstance(action, _CountAction)) and (not isinstance(action, _HelpAction)) and (type(action) not in boolean_actions))

def is_standard ( action ) : boolean_actions = ( _StoreConstAction , _StoreFalseAction , _StoreTrueAction ) return ( ( not action . choices ) and ( not isinstance ( action , _CountAction ) ) and ( not isinstance ( action , _HelpAction ) ) and ( type ( action ) not in boolean_actions ) )
actions which are general "store" instructions .