<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def WritePathStatHistory(self, client_path, stat_entries):
 """Writes a collection of `StatEntry` observed for particular path. Args: client_path: A `ClientPath` instance. stat_entries: A dictionary with timestamps as keys and `StatEntry` instances as values. """

    client_path_history = ClientPathHistory()
    for timestamp, stat_entry in iteritems(stat_entries):
      client_path_history.AddStatEntry(timestamp, stat_entry)

    self.MultiWritePathHistory({client_path: client_path_history})