public boolean checkoutExclusively(DomainFile df) throws IOException {

		assertFileInProject(df);

		try {
			return df.checkout(true, TaskMonitor.DUMMY);
		}
		catch (CancelledException e) {
			// cannot happen as long as we use the dummy
		}
		return false;
	}
Performs an exclusive check-out of the given file

@param df the domain file; cannot be null
@return true if the check-out was successful
@throws IOException if there is an issue checking-out the file
Ghidra/Features/Base/src/test/java/ghidra/base/project/FakeSharedProject.java