public static void validateSourceProgramFile(DomainFile file, boolean includeFilePathInError)
			throws IllegalArgumentException {
		String error = null;
		if (!ProgramDB.class.isAssignableFrom(file.getDomainObjectClass())) {
			error = "Source file does not correspond to a Program";
		}
		if (error != null) {
			if (includeFilePathInError) {
				error += ":\n" + file.getPathname();
			}
			throw new IllegalArgumentException(error);
		}
	}
Validate a VT source program to ensure it meets minimum criteria to open with a VTSession.
The following validation checks are performed:
<ul>
<li>file must correspond to a ProgramDB</li>
</ul>
If an error is thrown it is intended to be augmented for proper presentation.

@param file VT Session source program domain file 
@param includeFilePathInError if true file path will be appended to any exception throw
@throws IllegalArgumentException if any VT source program file criteria is not satisfied
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/api/util/VTSessionFileUtil.java