public static function contains($value, string $search, string $encoding = 'UTF-8'): bool
    {
        if (!static::isStringCastable($value)) {
            return false;
        }

        return mb_strpos((string) $value, $search, 0, $encoding) !== false;
    }