public static boolean hasDWARFData(Program program, TaskMonitor monitor) {
		if (!isDWARF(program)) {
			return false;
		}
		try (DWARFSectionProvider dsp =
			DWARFSectionProviderFactory.createSectionProviderFor(program, monitor)) {
			return dsp != null;
		}
	}
Returns true if the specified {@link Program program} has DWARF information.
<p>
This is similar to {@link #isDWARF(Program)}, but is a stronger check that is more
expensive as it could involve searching for external files.

@param program {@link Program} to test
@param monitor {@link TaskMonitor} that can be used to cancel
@return boolean true if the program has DWARF info, false if not
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFProgram.java