public static function hasSuffix(
        /*# string */ $string,
        /*# string */ $suffix
    )/*# : bool */ {
        $len = strlen($suffix);
        if ($len && substr($string, - $len) === $suffix) {
            return true;
        }
        return false;
    }