# File lib/bullet/dependency.rb, line 87
    def mongoid5x?
      mongoid? && ::Mongoid::VERSION =~ /\A5/
    end