'If this is a CLI command about an object type, e.g. "cobbler distro add", return the action, like "add"'

def get_object_action(self, object_type, args):

    if ((object_type is None) or (len(args) < 3)):
        return None
    if (args[2] in OBJECT_ACTIONS_MAP[object_type]):
        return args[2]
    return None
