code: public function hasDataValidation()
      {
          if (!isset($this->parent)) {
              throw new Exception('Cannot check for data validation when cell is not bound to a worksheet');
          }
  
          return $this->getWorksheet()->dataValidationExists($this->getCoordinate());
      }
docs: Does this cell contain Data validation rules?
  
  @throws Exception
  
  @return bool