code: public boolean hasTile(int x, int y, int zoom) {
  
          // Check if generating tiles for the zoom level and is within the bounding box
          boolean hasTile = isWithinBounds(x, y, zoom);
          if (hasTile) {
              // Check if there is a tile to retrieve
              hasTile = hasTileToRetrieve(x, y, zoom);
          }
  
          return hasTile;
      }
docs: Determine if there is a tile for the x, y, and zoom
  
  @param x    x coordinate
  @param y    y coordinate
  @param zoom zoom value
  @return true if there is a tile
  @since 1.2.6