public function isValid() {

		if(!isset($this->valid)) {
            $this->valid = $this->applyValidators(
                $this->applyModifiers($this->getValue())
            );
		}

		return $this->valid;

	}
public function isValid() {

		if(!isset($this->valid)) {
            $this->valid = $this->applyValidators(
                $this->applyModifiers($this->getValue())
            );
		}

		return $this->valid;

	}
public function isValid ( ) { if ( ! isset ( $ this -> valid ) ) { $ this -> valid = $ this -> applyValidators ( $ this -> applyModifiers ( $ this -> getValue ( ) ) ) ; } return $ this -> valid ; }
checks whether modified form element passes validation rules

@return boolean $success
checks whether modified form element passes validation rules