how to check if a hash has a property in ruby code example Example: ruby not in hash session.key?("user")