'Checks if (parsed) opts has a first class action'

def opts_has_action(self, opts):

    global ACTIONS_OPT_METHOD_NAME
    has_action = False
    for action in ACTIONS_OPT_METHOD_NAME:
        value = getattr(opts, action)
        if (value is not None):
            has_action = True
    return has_action
