has_query in inspector.