public static void waitForCondition(BooleanSupplier condition,
			Supplier<String> failureMessageSupplier) throws AssertionFailedError {

		waitForCondition(condition, true /*failOnTimeout*/, failureMessageSupplier);
	}
Waits for the given condition to return true

@param condition the condition that returns true when satisfied
@param failureMessageSupplier the function that will supply the failure message in the event
           of a timeout.
@throws AssertionFailedError if the condition is not met within the timeout period
Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGTest.java