public final boolean supportExtension(String s){
  return extensions.contains(s);
}

public final boolean supportExtension ( String s ) { return extensions . contains ( s ) ; }
tells whether the given extension is supported by this user agent .
