try `return keys.all? {|key| self[key] == obj[key] }`