<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _convert(self, test_record_obj):
 """Convert and cache a test record to a mfg-inspector proto."""


    if self._cached_proto is None:
      self._cached_proto = self._converter(test_record_obj)

    return self._cached_proto