public function assess($value) { $options = $this->getOptions(); return mb_strlen($value) == $options['length']; }