public function isValid($value) : bool
{
// Validation is performed only if the condition is fulfilled
if (true === $this->checkCondition($value)) {
return parent::isValid($value);
}
// No validation -> the value is valid
$this->value = $value;
return true;
}