protected function isValid($value) { if ($value !== $this->options['expectedValue']) { $this->addError('The given value is expected to be %1$s.', 1361044943, [$this->options['expectedValue'] ? 'TRUE' : 'FALSE']); } }