See the GPKG spec. A table in a GPKG can be of type features, attributes and tiles. The types of the data tables are specified in the table gpkg_contents, see https://www.geopackage.org/spec121/index.html#_contents and https://www.geopackage.org/spec121/index.html#_table_data_values.
Currently we assume that all tables in the GPKG are of type features . Adding a check for this makes this assumption a requirement.