code: public boolean waitForCondition(Condition condition, final int timeout){
  		if(config.commandLogging){
  			Log.d(config.commandLoggingTag, "waitForCondition("+condition+","+timeout+")");
  		}
  		
  		return waiter.waitForCondition(condition, timeout);
  	}
docs: Waits for a condition to be satisfied.
  
  @param condition the condition to wait for
  @param timeout the amount of time in milliseconds to wait
  @return {@code true} if condition is satisfied and {@code false} if it is not satisfied before the timeout