private boolean isColored(ProgramSelection selection) {
		AddressSetView appliedColorAddresses = service.getAllBackgroundColorAddresses();
		return selection.intersects(appliedColorAddresses);
	}
A plugin to provider actions for manipulating the colors of the {@link CodeViewerService}.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/colorizer/ColorizingPlugin.java