code: private static boolean hasRequestedEvents(BProgramSyncSnapshot bpss) {
          return bpss.getBThreadSnapshots().stream().anyMatch(btss -> (!btss.getSyncStatement().getRequest().isEmpty()));
      }
docs: Utility methods.