public function isValid()
    {
        $valid = $this->valid;
        if ($this->isMultiple()) {
            $valid = $this->isMultipleValid();
        }
        return $valid;
    }
public function isValid()
    {
        $valid = $this->valid;
        if ($this->isMultiple()) {
            $valid = $this->isMultipleValid();
        }
        return $valid;
    }
public function isValid ( ) { $ valid = $ this -> valid ; if ( $ this -> isMultiple ( ) ) { $ valid = $ this -> isMultipleValid ( ) ; } return $ valid ; }
Check if the value is valid

The value should pass through all validators in the validation chain

@return boolean True if is valid, false otherwise
Check if the value is valid