default boolean isCurrentUser(final UserRef userRef) {
        return Objects.equals(getUserRef(), userRef);
    }
Determine if the passed {@link UserRef} is the same user as the current
authenticated user. Being administrator has no bearing on the result of this method.

@param userRef The user to compare against the current authenticated user.
@return True if userRef is equal to the current authenticated user.
stroom-security/stroom-security-api/src/main/java/stroom/security/api/SecurityContext.java