/**
* Checks if the condition is fulfilled.
*
* @param mixed $value Input value
* @return boolean
*/
private function checkCondition($value)
{
if (null === $this->condValidator) {
// There is no validator -> always fulfilled
return true;
}
return $this->condValidator->isValid($value);
}