public static @NonNull Tristate of(boolean val) {
        return val ? TRUE : FALSE;
    }
Returns a {@link Tristate} from a boolean

@param val the boolean value
@return {@link #TRUE} or {@link #FALSE}, if the value is <code>true</code> or <code>false</code>, respectively.
api/src/main/java/net/luckperms/api/util/Tristate.java