code: final public function isInList($fieldName, $value)
      {
          if (empty($this->data[$fieldName]) || !is_array($this->data[$fieldName])) {
              return false;
          }
  
          return in_array($value, $this->data[$fieldName]);
      }
docs: {@inheritdoc}