'Gets the selected action from the parsed opts'

def opts_get_action(self, opts):

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