public static boolean usingLocalGraphics(Context context) {
        SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
        String sunshineArtPack = context.getString(R.string.pref_art_pack_sunshine);
        return prefs.getString(context.getString(R.string.pref_art_pack_key),
                sunshineArtPack).equals(sunshineArtPack);
    }
Helper method to return whether or not Sunshine is using local graphics.

@param context Context to use for retrieving the preference
@return true if Sunshine is using local graphics, false otherwise.
app/src/main/java/com/example/android/sunshine/app/Utility.java