class RodaSessionMiddleware::SessionHash

def loaded?

Whether the session has already been loaded from the cookie yet.
def loaded?
  !!defined?(@data)
end