code: def are_collections_aligned(data_collections, raise_exception=True):
          
          if len(data_collections) > 1:
              first_coll = data_collections[0]
              for coll in data_collections[1:]:
                  if not first_coll.is_collection_aligned(coll):
                      if raise_exception is True:
                          error_msg = '{} Data Collection is not aligned with '\
                              '{} Data Collection.'.format(
                                  first_coll.header.data_type, coll.header.data_type)
                          raise ValueError(error_msg)
                      return False
          return True
docs: Test if a series of Data Collections are aligned with one another.
  
          Aligned Data Collections are of the same Data Collection class, have the
          same number of values and have matching datetimes.
  
          Args:
              data_collections: A list of Data Collections for which you want to
                  test if they are al aligned with one another.
  
          Return:
              True if collections are aligned, False if not aligned