class Store {

    boolean isEmpty() {
        String objJson = prefs.getString(TAG, null);
        obj = new Gson().fromJson(objJson, cls);
        return obj == null;
    }

      Store(SharedPreferences prefs, Class<T> cls);

}