public LockOutFlag getDisabledStatus(String username) {
        if (username == null) {
            throw new UnsupportedOperationException("Null username not allowed!");
        }
        LockOutFlag lockOutFlag = getUserLockOut(username);
        return getUnExpiredLockout(lockOutFlag);
    }
Returns a LockOutFlag for a given username, which contains information about the time
period that the specified account is going to be disabled.

@param username Username of account to request status of.
@return The LockOutFlag instance describing the accounts disabled status or null if user
        account specified is not currently locked out (disabled).
xmppserver/src/main/java/org/jivesoftware/openfire/lockout/LockOutManager.java