src/ResourcePool/Standard.php
public function has(string $type, string $id, array $options = []): bool
    {
        if (!$this->savesResource($type)) {
            return false;
        }

        $key = $this->generateKey($type, $id, $options);
        $this->warmUp($key, $type);

        return isset($this->resources[$key]);
    }
public function has(string $type, string $id, array $options = []): bool
    {
        if (!$this->savesResource($type)) {
            return false;
        }

        $key = $this->generateKey($type, $id, $options);
        $this->warmUp($key, $type);

        return isset($this->resources[$key]);
    }
{@inheritdoc}