@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }
        final UserIdentityImpl that = (UserIdentityImpl) o;
        return Objects.equals(userRef, that.userRef) && Objects.equals(httpSession, that.httpSession);
    }
@return True if this {@link UserIdentity} has a session and is an attribute value in that session
stroom-security/stroom-security-impl/src/main/java/stroom/security/impl/UserIdentityImpl.java