public static function endsWith(string $yourString, string $endsWith, string $encoding = null): bool
    {
        return mb_substr($yourString, 0 - mb_strlen($endsWith, $encoding ?? Application::getEncoding()), null, $encoding ?? Application::getEncoding()) === $endsWith;
    }