public final boolean isRegistered(){
  return !canonicalName.startsWith("x-") && !canonicalName.startsWith("X-");
}

public final boolean isRegistered ( ) { return ! canonicalName . startsWith ( "x-" ) && ! canonicalName . startsWith ( "X-" ) ; }
returns true if this charset is known to be registered in the iana charset registry .
