code: def get_if_raw_addr6(iff):
      
      ip6 = get_if_addr6(iff)
      if ip6 is not None:
          return inet_pton(socket.AF_INET6, ip6)
  
      return None
docs: Returns the main global unicast address associated with provided
      interface, in network format. If no global address is found, None
      is returned.