$when->isActive() Checks if the field is currently active or hidden because of a when condition kirby/src/Form/Mixin/When.php#L27 $when->isActive(): bool Return type bool Parent class Kirby\Form\Mixin\When