code: def wif(self, s):
          
          data = self.parse_b58_hashed(s)
          if data is None or not data.startswith(self._wif_prefix):
              return None
          data = data[len(self._wif_prefix):]
          is_compressed = (len(data) > 32)
          if is_compressed:
              data = data[:-1]
          se = from_bytes_32(data)
          return self._network.keys.private(se, is_compressed=is_compressed)
docs: Parse a WIF.
          Return a :class:`Key <pycoin.key.Key>` or None.