private boolean areProgramsLocked() {
		return p1 == currentProgram || p2 == currentProgram;
	}
Returns true if one of the programs is locked.
<p>
Note: calling {@link Program#isLocked()} does not work here; we must
check to see if one of the programs is the currently-open program.

@return true if either program is locked
Ghidra/Features/VersionTracking/ghidra_scripts/FindChangedFunctionsScript.java