public static void waitForCondition(BooleanSupplier condition, String failureMessage)
			throws AssertionFailedError {

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

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