public static boolean containsInvalidChars(String str) {
		int len = str.length();
		for (int i = 0; i < len; i++) {
			char c = str.charAt(i);
			if (isInvalidChar(c)) {
				return true;
			}
		}
		return false;
	}
Check for invalid characters
(space or unprintable ascii below 0x20)
in labels.

@param str the string to be checked for invalid characters.
@return boolean true if no invalid chars
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/SymbolUtilities.java