code: public static Iterable<String> getAttributeNames(Iterable<Attribute> attrs) {
      return () -> stream(attrs).map(Attribute::getName).iterator();
    }
docs: Returns attribute names for the given attributes
  
  @return attribute names