code: public static boolean replicationsPending(Context context, Class<? extends
          PeriodicReplicationService> prsClass) {
          SharedPreferences prefs = context.getSharedPreferences(PREFERENCES_FILE_NAME, Context
              .MODE_PRIVATE);
          return prefs.getBoolean(constructKey(prsClass, REPLICATIONS_PENDING_SUFFIX), true);
      }
docs: Gets whether there are replications pending. Replications may be pending because they are
  currently in progress and have not yet completed, or because a previous scheduled
  replication didn't take place because the conditions for replication were not met.
  @param context
  @param prsClass
  @return