public function inEnum($enum, $strict = true) {
        if (!$this->_isValid) {
            return $this;
        }
        if (!in_array($this->_unsafeVar, $enum, $strict)) {
            $this->_isValid = false;
        }
        return $this;
    }