@Override
		public boolean tryLock() {
			synchronized (ghidraLock) { // Yes, sync on the lock's intrinsic lock
				Thread lockOwner = ghidraLock.getOwner();
				if (lockOwner == null || lockOwner == Thread.currentThread()) {
					ghidraLock.acquire();
					return true;
				}
				return false;
			}
		}
Adapts a {@link ghidra.util.Lock} to the {@link Lock} interface

<p>
Not all operations are supported. In particular, no {@link #lockInterruptibly()},
{@link #tryLock(long,TimeUnit)}, nor {@link #newCondition()}.
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedDomainObjectAdapter.java