code: def get_datatypes(self):
          
          datatypes = set()
          for element in self.elements:
              if isinstance(element, PolygonSet):
                  datatypes.update(element.datatypes)
              elif isinstance(element, CellReference) or isinstance(
                      element, CellArray):
                  datatypes.update(element.ref_cell.get_datatypes())
          return datatypes
docs: Returns a set of datatypes in this cell.
  
          Returns
          -------
          out : set
              Set of the datatypes used in this cell.