More readable isAuthenticated statement