public static BooleanPropertyValue parse(String key, String value) {
		String id = fromExternalId(key);

		if (isBooleanKey(value)) {
			String refId = fromExternalId(value);
			return new BooleanPropertyValue(key, refId, null);
		}

		boolean b = Boolean.parseBoolean(value);
		return new BooleanPropertyValue(id, b);
	}
A Java property value for keys that use boolean values.
Ghidra/Framework/Gui/src/main/java/generic/theme/BooleanPropertyValue.java