IsCompatible(table)

Returns True if the query structure is compatible with the table structure or False otherwise. Compatibility means an equal number of fields, correspondence of names and types for fields. The method always returns False for tables or queries of external databases in the current version of GIS kernel.