code: def _should_skip_entry(self, entry):
          
          # Don't replicate entries resulting from chunk moves
          if entry.get("fromMigrate"):
              return True, False
  
          # Ignore no-ops
          if entry["op"] == "n":
              return True, False
          ns = entry["ns"]
  
          if "." not in ns:
              return True, False
          coll = ns.split(".", 1)[1]
  
          # Ignore system collections
          if coll.startswith("system."):
              return True, False
  
          # Ignore GridFS chunks
          if coll.endswith(".chunks"):
              return True, False
  
          is_gridfs_file = False
          if coll.endswith(".files"):
              ns = ns[: -len(".files")]
              if self.namespace_config.gridfs_namespace(ns):
                  is_gridfs_file = True
              else:
                  return True, False
  
          # Commands should not be ignored, filtered, or renamed. Renaming is
          # handled by the DocManagers via the CommandHelper class.
          if coll == "$cmd":
              return False, False
  
          # Rename or filter out namespaces that are ignored keeping
          # included gridfs namespaces.
          namespace = self.namespace_config.lookup(ns)
          if namespace is None:
              LOG.debug(
                  "OplogThread: Skipping oplog entry: "
                  "'%s' is not in the namespace configuration." % (ns,)
              )
              return True, False
  
          # Update the namespace.
          entry["ns"] = namespace.dest_name
  
          # Take fields out of the oplog entry that shouldn't be replicated.
          # This may nullify the document if there's nothing to do.
          if not self.filter_oplog_entry(
              entry,
              include_fields=namespace.include_fields,
              exclude_fields=namespace.exclude_fields,
          ):
              return True, False
          return False, is_gridfs_file
docs: Determine if this oplog entry should be skipped.
  
          This has the possible side effect of modifying the entry's namespace
          and filtering fields from updates and inserts.