code: 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]);
      }
docs: {@inheritdoc}