public function __isset($flag)
    {
        try {
            $this->checkFlag($flag);
        } catch (\Exception $e) {
            return false;
        }

        $ruleIndex = $this->_flags[$flag];

        return isset($this->_options[$ruleIndex]);
    }