code: public boolean containsName(final String name) {
          for (final T i : this) {
              if (i.getName().equals(name)) {
                  return true;
              }
          }
          return false;
      }
docs: Check if this list contains an item with the given name.
  
  @param name
  The name to search for.
  @return true if this list contains an item with the given name.