protected boolean checkFilesForUnsavedChanges() {
		for (DomainFile df : list) {
			if (df.modifiedSinceCheckout()) {
				return true;
			}
		}
		return false;
	}
Sets the filesInUse field if any file is in use.
Call this method from the run() method so that the
"Keep checked out" checkbox on the dialog is disabled if files
are still in use.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/VersionControlTask.java