code: def is_data_homogenous(data_container):
      
      data_types = set([type(i) for i in data_container])
      return len(data_types) == 1
docs: Checks that all of the data in the container are of the same Python data
      type. This function is called in every other function below, and as such
      need not necessarily be called.
  
      :param data_container: A generic container of data points.
      :type data_container: `iterable`