public function isSingleton(string $abstract) : bool
    {
        if (! $this->has($abstract)) {
            throw new NotFoundException("Element '$abstract' not found");
        }

        return $this->collection[$abstract] instanceof Closure === false;
    }