public Boolean isThemeConstant(String constantName){
  String c=getThemeConstant(constantName,null);
  if (c == null) {
    return null;
  }
  if (c.equalsIgnoreCase("true") || c.equals("1")) {
    return Boolean.TRUE;
  }
  return Boolean.FALSE;
}

public Boolean isThemeConstant ( String constantName ) { String c = getThemeConstant ( constantName , null ) ; if ( c == null ) { return null ; } if ( c . equalsIgnoreCase ( "true" ) || c . equals ( "1" ) ) { return Boolean . TRUE ; } return Boolean . FALSE ; }
returns a theme constant defined in the resource editor as a boolean value or null if the constant isn ' t defined
