public static void waitForCondition(BooleanSupplier condition) throws AssertionFailedError {
		waitForCondition(condition, "Timed-out waiting for condition");
	}
Waits for the given condition to return true

@param condition the condition that returns true when satisfied
@throws AssertionFailedError if the condition is not met within the timeout period
Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGTest.java