docs: def is_unprocessed_local_replica(pid):
      """Is local replica with status "queued"."""
      return d1_gmn.app.models.LocalReplica.objects.filter(
          pid__did=pid, info__status__status='queued'
      ).exists()