code: def IsRegistryStatEntry(self, original_result):
      
      return (original_result.pathspec.pathtype ==
              rdf_paths.PathSpec.PathType.REGISTRY)
docs: Checks if given RDFValue is a registry StatEntry.