This information can be obtained from the fact whether the dialect implements the QueryableGridDialect facet or not.