<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def IsRegistryStatEntry(self, original_result):
 """Checks if given RDFValue is a registry StatEntry."""

    return (original_result.pathspec.pathtype ==
            rdf_paths.PathSpec.PathType.REGISTRY)