Check for the existence of a pagination to remove or not.