Refactored IsAccountAdminOrReadOnly.