public static function startsWith($check, $string)
    {
        if ($check === "" || $check === $string) {
            return true;
        } else {
            return strpos($string, $check) === 0;
        }
    }