code: def ok_hash(token: str) -> bool:
          
  
          LOGGER.debug('Tails.ok_hash >>> token: %s', token)
  
          rv = re.match('[{}]{{42,44}}$'.format(B58), token) is not None
          LOGGER.debug('Tails.ok_hash <<< %s', rv)
          return rv
docs: Whether input token looks like a valid tails hash.
  
          :param token: candidate string
          :return: whether input token looks like a valid tails hash