public function isConvertibleToString(): bool
    {
        $isConvertible = $this->isScalar() || $this->isTypeOf(Stringifable::class) || $this->isNull();

        if ($isConvertible) {
            return true;
        }

        $hasToStringMethod = method_exists($this->variable, '__toString');

        return $hasToStringMethod;
    }