isEnabled

fun isEnabled(name: String): Boolean

Returns true if flag named name exists and evaluates to true, false otherwise.


abstract fun isEnabled(name: String, default: Boolean): Boolean

Returns true if flag named name evaluates to true, false if it evaluates to false, and default if it does not exist or is archived.