protected function boolFromString($value)
    {
        $grammar = $this->getGrammar();

        $value = $this->getStringable($value);

        if (isset($grammar[$value])) return $grammar[$value];

        return false;
    }
protected function boolFromString($value)
    {
        $grammar = $this->getGrammar();

        $value = $this->getStringable($value);

        if (isset($grammar[$value])) return $grammar[$value];

        return false;
    }
protected function boolFromString ( $ value ) { $ grammar = $ this -> getGrammar ( ) ; $ value = $ this -> getStringable ( $ value ) ; if ( isset ( $ grammar [ $ value ] ) ) return $ grammar [ $ value ] ; return false ; }
Construct proper Bool from string using grammar.

@param mixed $value
@return bool
Construct proper Bool from string using grammar .