Renamed method for checking compatilibity

Renamed method from check_query_object_type to is_compatible_query_object_type
to avoid conflict with Query.check_query_object_type. The notation is
more appropriate given the nature of the method returning a Boolean.