code: public static boolean isServiceRunning(Context context, Class<? extends Service> service) {
          return isServiceRunning(context, service, Integer.MAX_VALUE);
      }
docs: Checks if the specified service is currently running or not.
  @param context the context.
  @param service the {@link java.lang.Class} of the service.
  @return true if the service is running, false otherwise.