public static boolean isChar(Data data) {
		if (data == null) {
			return false;
		}
		DataType dt = data.getBaseDataType();
		return (dt instanceof CharDataType) || (dt instanceof WideCharDataType) ||
			(dt instanceof WideChar16DataType) || (dt instanceof WideChar32DataType);
	}
Returns true if the {@link Data} instance is one of the many 'char' data types.

@param data {@link Data} instance to test, null ok
@return boolean true if char data
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/StringDataInstance.java