public static boolean isBestResult(int difficulty, long time) {
        long[] times;
        switch (difficulty) {
            case Grid.DIFFICULTY_EASY: times = instance.easyTime; break;
            case Grid.DIFFICULTY_MEDIUM: times = instance.mediumTime; break;
            case Grid.DIFFICULTY_HARD: times = instance.hardTime; break;
            case Grid.DIFFICULTY_EXTREME: times = instance.extremeTime; break;
            default: return false;
        }
        
        for (long result : times) {
            if (time < result) {
                return true;
            }
        }
        return false;
    }