docs: def _is_did(did):
      """Return True if ``did`` is recorded in a local context.
  
      ``did``=None is supported and returns False.
  
      A DID can be classified with classify_identifier().
  
      """
      return d1_gmn.app.models.IdNamespace.objects.filter(did=did).exists()