private function checkCondition($value) : bool { if (null === $this->condValidator) { // There is no validator -> always fulfilled return true; } return $this->condValidator->isValid($value); }