public boolean isUser(String username) {
        return isUser() && getIdentifier().equals(username);
    }
Returns whether the underlying entity represents a specific user having
the given username.

@param username
    The username of a user.

@return
    true if the underlying entity is a user that has the given username,
    false otherwise.
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/base/ModeledPermissions.java