method

has_key?

has_key?(key)
public

Returns true if the session has the given key or false.