code: public boolean handle(CallbackQuery query, int button) {
          if (button < 0 || button > buttons.size()) {
              return false;
          }
  
          buttonAt(button).handlePress(query);
          return true;
      }
docs: Handle callback query
  @param query query to be processed
  @param button button index
  @return false if the button was out of bounds and therefore wasn't processed