public static void waitFor(AtomicBoolean ab) throws AssertionFailedError {
		waitForCondition(() -> ab.get());
	}
Waits for the given AtomicBoolean to return true. This is a convenience method for
{@link #waitFor(BooleanSupplier)}.

@param ab the atomic boolean
@throws AssertionFailedError if the condition is not met within the timeout period
Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGTest.java