private void validateCheckout() {
		if (fileSystem.isReadOnly() || !versionedFileSystem.isOnline()) {
			return;
		}
		try {
			if (folderItem != null && folderItem.isCheckedOut()) {
				// Cleanup checkout status which may be stale
				if (versionedFolderItem != null) {
					ItemCheckoutStatus coStatus =
						versionedFolderItem.getCheckout(folderItem.getCheckoutId());
					if (coStatus == null) {
						folderItem.clearCheckout();
					}
				}
				else {
					folderItem.clearCheckout();
				}
			}
		}
		catch (IOException e) {
			// ignore
		}
	}
Notification callback that this file's status may have changed
@throws IOException if IO error occurs
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/GhidraFileData.java