验证支付通知ID是否合法
@param notifyId 通知ID，后置通知中会有
@return 合法返回true，反之false
778095
public Boolean notifyId(String notifyId){
        String url = Alipay.GATEWAY +
                "&" + AlipayField.SERVICE.field() + "=" + Service.NOTIFY_VERIFY.value() +
                "&" + AlipayField.PARTNER.field() + "=" + alipay.merchantId +
                "&" + AlipayField.NOTIFY_ID.field() + "=" + notifyId;
        String resp = Http.get(url).request();
        return "true".equalsIgnoreCase(resp);
    }
418193
def notifications_dismiss(self, id):
        
        id = self.__unpack_id(id)
        params = self.__generate_params(locals())
        self.__api_request('POST', '/api/v1/notifications/dismiss', params)
742551
static void checkId(String id) {
    if (!ID.matcher(id).matches()) {
      throw new IllegalArgumentException(String.format("not a valid js identifier: %s", id));
    }
  }
1021631
public static synchronized boolean removeDenyID(String id) {
		if(deniedID!=null && deniedID.remove(id)!=null) { 
			writeID();
			if(deniedID.isEmpty()) {
				deniedID=null;
			}

			return true;
		}
		return false;
	}
1250929
private boolean checkID(long id) {
    // Ensure that the given ID is a monotonically increasing ID.
    // If the ID is less than the last received ID then reset the
    // last received ID since the connection must have been reset.
    if (lastReceived == 0 || id == lastReceived + 1 || id < lastReceived) {
      lastReceived = id;
      // If the ID reaches the end of the current batch then tell the data
      // source that it's okay to remove all previous messages.
      if (lastReceived % BATCH_SIZE == 0) {
        ack();
      }
      return true;
    } else {
      fail();
    }
    return false;
  }
907203
public function findOne($notification_id, $notifiable_id)
    {
        return $this->createQueryBuilder('nn')
            ->join('nn.notification', 'n')
            ->join('nn.notifiableEntity', 'ne')
            ->where('n.id = :notification_id')
            ->andWhere('ne.id = :notifiable_id')
            ->setParameter('notification_id', $notification_id)
            ->setParameter('notifiable_id', $notifiable_id)
            ->getQuery()
            ->getOneOrNullResult()
        ;
    }
1359651
public boolean isNotify() {
    if (message == null) {
      return false;
    }

    return (((Request) message).getMethod().equals(Request.NOTIFY));
  }
1018210
public CreateIssueParams notifiedUserIds(List notifiedUserIds) {
        for (Object notifiedUserId : notifiedUserIds) {
            parameters.add(new NameValuePair("notifiedUserId[]", notifiedUserId.toString()));
        }
        return this;

    }
1346264
synchronized boolean markReadMessageForId(String messageId, String userId){
        if(messageId == null || userId == null) return false;

        final String tName = Table.INBOX_MESSAGES.getName();
        try{
            final SQLiteDatabase db = dbHelper.getWritableDatabase();
            ContentValues cv = new ContentValues();
            cv.put(IS_READ,1);
            db.update(Table.INBOX_MESSAGES.getName(), cv,_ID + " = ? AND " + USER_ID + " = ?",new String[]{messageId,userId});
            return true;
        }catch (final SQLiteException e){
            getConfigLogger().verbose("Error removing stale records from " + tName, e);
            return false;
        } finally {
            dbHelper.close();
        }
    }
301381
public function checkNotification($notify) {
    if (!is_array($notify)) {
      return FALSE;
    }

    $notifyParams = array();
    foreach ($this->notifyFields as $k => $mandatory) {
      if (isset($notify[$k])) {
        $notifyParams[$k] = $notify[$k];
      }
      elseif (!isset($notify[$k]) && $mandatory) {
        throw new \Exception('expected notification field ' . $k . ' is missing');
      }
    }

    return $notifyParams;
  }
1350174
public UpdatePullRequestParams notifiedUserIds(List<Long> notifiedUserIds) {
        for (Long notifiedUserId : notifiedUserIds) {
            parameters.add(new NameValuePair("notifiedUserId[]", notifiedUserId.toString()));
        }
        return this;

    }
668328
public boolean hasSpanWithId(String id) {
        TraceState ts = traceState.get();

        if (id != null && ts != null) {
            boolean spanFound = ts.getSpanForId(id) != null;
            if (log.isLoggable(Level.FINEST)) {
                log.finest("Has span with id = " + id + "? " + spanFound);
            }
            return spanFound;
        }

        return false;
    }
1370734
function checkId(id) {
  id = id || "";
  id = id.toString();
  return _.isString(id) && id.length === 24;
}
44892
@Override
	public List<CommerceNotificationQueueEntry> findByCommerceNotificationTemplateId(
		long commerceNotificationTemplateId) {
		return findByCommerceNotificationTemplateId(commerceNotificationTemplateId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
234150
protected boolean isThresholdNotificationRequired()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "isThresholdNotificationRequired");

        boolean result = false;

        if (_isEventNotificationEnabled ||
            (mp.getCustomProperties().getOutputLinkThresholdEventsToLog() && destinationHandler.isLink()) ||
            (mp.getCustomProperties().getOutputDestinationThresholdEventsToLog() && !destinationHandler.isLink()))
            result = true;

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "isThresholdNotificationRequired", new Boolean(result));

        return result;
    }
418583
def wf_notificant_id?(id)
      return true if id.is_a?(String) && id =~ /^\w{16}$/
      raise Wavefront::Exception::InvalidNotificantId
    end
737909
protected boolean check(String id, List<String> includes) {
		if (null != includes) {
			for (String check : includes) {
				if (check(id, check)) {
					return true;
				}
			}
		}
		return false;
	}