def GetLastRunPhaseName(self):
    if self.running_phase_record:
      # self.running_phase_record never gets reset *back* to None, so at worst
      # this might be a little out-of-date, but we don't have to lock at least.
      return self.running_phase_record.name
    return None
The wire format is an AnyValue message.
dataset/ETHPy150Open google/openhtf/openhtf/exe/test_state.py/TestState.GetLastRunPhaseName--crossover with--dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/structs.py/ProtoDynamicAnyValueEmbedded.ConvertFromWireFormat