public static boolean isDialogCreated(String method){
  return dialogCreatingMethods.contains(method);
}

public static boolean isDialogCreated ( String method ) { return dialogCreatingMethods . contains ( method ) ; }
return true if extension is supported .
