check if _prevent_no_action is not None