public static boolean isBinary(String input) {
		input = input.replaceAll("\\s", "");
		return input.matches("[01]+");
	}
Returns true if the input is a valid binary string (all 0's and 1's).

@param input
@return
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/util/InstructionSearchUtils.java