public static Boolean isPremium(String userName) {
        try {
            Boolean isPremium;
            URL url = new URL("https://www.minecraft.net/haspaid.jsp?user=" + userName);
            String pr = new BufferedReader(new InputStreamReader(url.openStream())).readLine().toUpperCase();

            if (pr.trim().equals("<HTML>")) {
                System.out.println("Premium Check Down!");
            }

            isPremium = Boolean.valueOf(pr);
            return isPremium;
        } catch (Exception e) {
            e.printStackTrace();
        }
        return false;
    }