Either that or finding a more descriptive name for the function. But as @amueller this is a private function so it's no big deal. It just make the code harder to grasp as the motivation is not very explicit.