code: def is_collection_aligned(self, data_collection):
          
          if self._collection_type != data_collection._collection_type:
              return False
          elif len(self.values) != len(data_collection.values):
              return False
          elif self.datetimes != data_collection.datetimes:
              return False
          else:
              return True
docs: Check if this Data Collection is aligned with another.
  
          Aligned Data Collections are of the same Data Collection class, have the
          same number of values and have matching datetimes.
  
          Args:
              data_collection: The Data Collection which you want to test if this
                  collection is aligned with.
  
          Return:
              True if collections are aligned, False if not aligned