public static boolean isBoolean(String line){

        String upper = line.toUpperCase();

        if(upper.equals("TRUE") || upper.equals("FALSE")){
            return true;
        }
        return false;
    }