public function isIterable(): bool
    {
        if (!$this->responseEvent instanceof ReturnedEvent) {
            return false;
        }

        $returnValue = $this->responseEvent->value();

        return is_array($returnValue) || $returnValue instanceof Traversable;
    }