    def _user_has_ready_spawner(self, orm_user):
        """Return True if a user has *any* ready spawners

        Used for filtering from active -> ready
        """
        user = self.users[orm_user]
        return any(spawner.ready for spawner in user.spawners.values())
Return True if a user has *any* ready spawners

Used for filtering from active -> ready
jupyterhub/apihandlers/users.py