protected boolean isDuplicateEvent(String eventType, String filePathName, long syncAccountId) {

    SyncWatchEvent lastSyncWatchEvent =
        SyncWatchEventService.fetchLastSyncWatchEvent(syncAccountId);

    if ((lastSyncWatchEvent == null)
        || !eventType.equals(lastSyncWatchEvent.getEventType())
        || !filePathName.equals(lastSyncWatchEvent.getFilePathName())) {

      return false;
    }

    return true;
  }