public function isValid()
    {
        $valid = true;
        foreach ($this->_errors as $input => $message) {
            foreach ($message as $item) {
                if (!empty($item)) {
                    $valid = false;
                }
            }
        }

        foreach ($this->_input as $key => $value) {
            \Session::delete('input.'.$key);
        }

        return $valid;
    }
public function isValid()
    {
        $valid = true;
        foreach ($this->_errors as $input => $message) {
            foreach ($message as $item) {
                if (!empty($item)) {
                    $valid = false;
                }
            }
        }

        foreach ($this->_input as $key => $value) {
            \Session::delete('input.'.$key);
        }

        return $valid;
    }
public function isValid ( ) { $ valid = true ; foreach ( $ this -> _errors as $ input => $ message ) { foreach ( $ message as $ item ) { if ( ! empty ( $ item ) ) { $ valid = false ; } } } foreach ( $ this -> _input as $ key => $ value ) { \ Session :: delete ( 'input.' . $ key ) ; } return $ valid ; }
Checks to see if the validation passed.

@return bool
Checks to see if the validation passed .