def controller_action_exists(handle, controller_type, controller_slot,
                             action, server_id=1):
    """
    Check if action is already applied on controller.