<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sec_as_hex(self, is_compressed=None):
 """ Return the SEC representation of this key as hex text. """

        sec = self.sec(is_compressed=is_compressed)
        return self._network.sec_text_for_blob(sec)