Allow define active_if as boolean