call this boolean isAuthorized.