diff --git a/lib/active_record/typed_store/behavior.rb b/lib/active_record/typed_store/behavior.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/typed_store/behavior.rb
+++ b/lib/active_record/typed_store/behavior.rb
@@ -53,7 +53,7 @@ module ActiveRecord::TypedStore
       super
     end
 
-    def query_attribute(attr_name)
+    def attribute?(attr_name)
       if self.class.store_accessors.include?(attr_name.to_s)
         value = public_send(attr_name)
Override `AR::AttributeMethods::Query#attribute?`:

- We were previously overriding `query_attribute` but that doesn't
  work anymore because of the alias added in <URL>