public static TriStateBoolean fromBoolean(final boolean value) {
        return value ? TriStateBoolean.TRUE : TriStateBoolean.FALSE;
    }
From boolean.

@param value the value
@return the tri state boolean
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/support/TriStateBoolean.java