code: public boolean isRobotFlagSet(char flag) {
  		String flags = getRobotFlags();
  		return flags != null && flags.indexOf(flag) >= 0;
  	}
docs: test if {@code robotflags} field has flag {@code flag} set.
  @param flag one flag to test
  @return {@code true} if {@code flag} is set.