    def named_server_limit_per_user_fn(handler):
        """Limit number of named servers to `2` for non-admin users. No limit for admin users."""
        user = handler.current_user
        if user and user.admin:
            return 0
        return 2
Limit number of named servers to `2` for non-admin users. No limit for admin users.
jupyterhub/tests/test_named_servers.py