Experiment

is_variant(request, name, variant)

Returns true if the determined variant for the current entity matches variant or one of the list of variants, if multiple.

is_on(request, name)

Returns True if the named switch is on; false otherwise.

is_off(request, name)

Returns True if the named switch is off; false otherwise.