Checks whether session with specified name is registered.
string $name:
bool
public function hasSession(string $name) { return isset($this->sessions[strtolower($name)]); }