public function validate() { $value = $this->getValidationPropertyValue(); if ($value === null || empty($value)) { return false; } return true; }