public static boolean isStringDataType(DataType dt) {
		if (dt instanceof TypeDef td) {
			dt = td.getBaseDataType();
		}
		return dt instanceof AbstractStringDataType || (dt instanceof Array arrayDt &&
			ArrayStringable.getArrayStringable(arrayDt.getDataType()) != null);
	}
Returns true if the specified {@link DataType} is (or could be) a string.
<p>
Arrays of char-like elements (see {@link ArrayStringable}) are treated as string data types.
The actual data instance needs to be inspected to determine if the array is an actual string.

@param dt DataType to test
@return boolean true if data type is or could be a string
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/StringDataInstance.java