public function isAssociative(): bool
    {
        if (count($this->bag) === 0) {
            return false;
        }

        return array_keys($this->bag) !== range(0, count($this->bag) - 1);
    }