module Hashie::Extensions::IndifferentAccess

def hash_with_indifference?(other)

def hash_with_indifference?(other)
  other.is_a?(::Hash) &&
    other.respond_to?(:indifferent_access?) &&
    other.indifferent_access?
end