code: def as_text(self):
          
          if self.secret_exponent():
              return self.wif()
          sec_hex = self.sec_as_hex()
          if sec_hex:
              return sec_hex
          return self.address()
docs: Return a textual representation of this key.