src/xPDO/Om/xPDOObject.php
public function isValidated($key= '') {
        $unvalidated = array_diff($this->_dirty, $this->_validated);
        if (empty($key)) {
            $validated = (count($unvalidated) > 0);
        } else {
            $validated = !in_array($this->getField($key), $unvalidated);
        }
        return $validated;
    }
public function isValidated($key= '') {
        $unvalidated = array_diff($this->_dirty, $this->_validated);
        if (empty($key)) {
            $validated = (count($unvalidated) > 0);
        } else {
            $validated = !in_array($this->getField($key), $unvalidated);
        }
        return $validated;
    }
public function isValidated ( $ key = '' ) { $ unvalidated = array_diff ( $ this -> _dirty , $ this -> _validated ) ; if ( empty ( $ key ) ) { $ validated = ( count ( $ unvalidated ) > 0 ) ; } else { $ validated = ! in_array ( $ this -> getField ( $ key ) , $ unvalidated ) ; } return $ validated ; }
Indicates if the object or specified field has been validated.

@param string $key Optional key to check for specific validation.
@return boolean True if the object or specified field has been fully
validated successfully.
Indicates if the object or specified field has been validated .