code: public boolean removeFeatureShape(String database, String table, long featureId) {
  
          boolean removed = false;
  
          Map<Long, FeatureShape> featureIds = getFeatureIds(database, table);
          if (featureIds != null) {
              FeatureShape featureShape = featureIds.remove(featureId);
              if (featureShape != null) {
                  featureShape.remove();
                  removed = true;
              }
          }
  
          return removed;
      }
docs: Remove the feature shape from the database and table
  
  @param database  GeoPackage database
  @param table     table name
  @param featureId feature id
  @return true if removed
  @since 3.2.0