code: public boolean isMonitorDurationEnd() {
          long startTime =
                  PreferenceManager.getDefaultSharedPreferences(BlockCanaryContext.get().provideContext())
                          .getLong("BlockCanary_StartTime", 0);
          return startTime != 0 && System.currentTimeMillis() - startTime >
                  BlockCanaryContext.get().provideMonitorDuration() * 3600 * 1000;
      }
docs: Is monitor duration end, compute from recordStartTime end provideMonitorDuration.
  
  @return true if ended