public static <T> boolean isAllSameType(Collection<?> list, Class<T> clazz) {
		for (Object object : list) {
			if (!clazz.isAssignableFrom(object.getClass())) {
				return false;
			}
		}
		return true;
	}
Returns true if each item in the list is of type clazz.
@param <T>     the type
@param list    the list to inspect
@param clazz   the class type
@return true if each item in the list is of type clazz
Ghidra/Framework/Generic/src/main/java/util/CollectionUtils.java