original_string: public function & HasValidator ($validatorNameOrInstance) {
  		if (is_string($validatorNameOrInstance)) {
  			$validatorClassName = $validatorNameOrInstance;
  		} else if ($validatorNameOrInstance instanceof \MvcCore\Ext\Forms\IValidator) {
  			$validatorClassName = get_class($validatorNameOrInstance);
  		} else {
  			return $this->throwNewInvalidArgumentException(
  				'Unknown validator type given: `' . $validatorNameOrInstance 
  				. '`, type: `' . gettype($validatorNameOrInstance) . '`.'
  			);
  		}
  		$slashPos = strrpos($validatorClassName, '\\');
  		$validatorName = $slashPos !== FALSE 
  			? substr($validatorClassName, $slashPos + 1)
  			: $validatorClassName;
  		return isset($this->validators[$validatorName]);
  	}
code: public function & HasValidator ($validatorNameOrInstance) {
  		if (is_string($validatorNameOrInstance)) {
  			$validatorClassName = $validatorNameOrInstance;
  		} else if ($validatorNameOrInstance instanceof \MvcCore\Ext\Forms\IValidator) {
  			$validatorClassName = get_class($validatorNameOrInstance);
  		} else {
  			return $this->throwNewInvalidArgumentException(
  				'Unknown validator type given: `' . $validatorNameOrInstance 
  				. '`, type: `' . gettype($validatorNameOrInstance) . '`.'
  			);
  		}
  		$slashPos = strrpos($validatorClassName, '\\');
  		$validatorName = $slashPos !== FALSE 
  			? substr($validatorClassName, $slashPos + 1)
  			: $validatorClassName;
  		return isset($this->validators[$validatorName]);
  	}
code_tokens: public function & HasValidator ( $ validatorNameOrInstance ) { if ( is_string ( $ validatorNameOrInstance ) ) { $ validatorClassName = $ validatorNameOrInstance ; } else if ( $ validatorNameOrInstance instanceof \ MvcCore \ Ext \ Forms \ IValidator ) { $ validatorClassName = get_class ( $ validatorNameOrInstance ) ; } else { return $ this -> throwNewInvalidArgumentException ( 'Unknown validator type given: `' . $ validatorNameOrInstance . '`, type: `' . gettype ( $ validatorNameOrInstance ) . '`.' ) ; } $ slashPos = strrpos ( $ validatorClassName , '\\' ) ; $ validatorName = $ slashPos !== FALSE ? substr ( $ validatorClassName , $ slashPos + 1 ) : $ validatorClassName ; return isset ( $ this -> validators [ $ validatorName ] ) ; }
docstring: Get `TRUE`, if field has configured in it's validators array
  given validator class ending name or validator instance.
  @param string|\MvcCore\Ext\Forms\IValidator $validatorNameOrInstance
  @return bool
docstring_tokens: Get TRUE if field has configured in it s validators array given validator class ending name or validator instance .