src/Validation.php
public function fieldValid($field) {
        $result = !isset($this->errors[$field]) || count($this->errors[$field]) === 0;
        return $result;
    }
public function fieldValid($field) {
        $result = !isset($this->errors[$field]) || count($this->errors[$field]) === 0;
        return $result;
    }
Check whether or not a particular field is has errors.

@param string $field The name of the field to check for validity.
@return bool Returns true if the field has no errors, false otherwise.