private boolean isFullExecutable(Program program, AddressSetView set) {
		// if has an execute set, then set to FID, must contain the execute set
		AddressSetView executeSet = program.getMemory().getExecuteSet();
		if (!executeSet.isEmpty()) {
			return set.contains(executeSet);
		}

		// if there are no execute blocks, then use loaded/initialized for program blocks
		AddressSetView loadSet = program.getMemory().getLoadedAndInitializedAddressSet();
		return set.contains(loadSet);
	}
Check if set contains the full executable or loaded/initialized memory areas.

@param program program to check
@param set set to check
@return true if all program executable or load/initialized memory is in set
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/analyzer/FidAnalyzer.java