code: public boolean waitForActivity(String name, int timeout)
  	{
  		if(config.commandLogging){
  			Log.d(config.commandLoggingTag, "waitForActivity(\""+name+"\", "+timeout+")");
  		}
  		
  		return waiter.waitForActivity(name, timeout);
  	}
docs: Waits for an Activity matching the specified name.
  
  @param name the name of the {@link Activity} to wait for. Example is: {@code "MyActivity"}
  @param timeout the amount of time in milliseconds to wait
  @return {@code true} if {@link Activity} appears before the timeout and {@code false} if it does not