Why this check is needed? Why not just use zend_is_true on whatever value is there, given that we have booleans there anyway?