private function addSession(Container $container, string $keysession, string $value) : bool
    {
        if ($container->offsetExists($keysession)) {
            return false;
        }

        $container->offsetSet($keysession, $value);

        return true;
    }