code: def _compare_across(collections, key):
      
      if len(collections) < 2:
          return True
      c0 = key(collections[0])
      return all(c0 == key(c) for c in collections[1:])
docs: Return whether all the collections return equal values when called with
      `key`.