code: def _valid_ip(ip_address):
      '''
      Check if the IP address is valid and routable
      Return either True or False
      '''
  
      try:
          address = ipaddress.IPv4Address(ip_address)
      except ipaddress.AddressValueError:
          return False
  
      if address.is_unspecified or \
          address.is_loopback or \
          address.is_link_local or \
          address.is_multicast or \
          address.is_reserved:
          return False
  
      return Truf _valid_ip(ip_address):
      '''
      Check if the IP address is valid and routable
      Return either True or False
      '''
  
      try:
          address = ipaddress.IPv4Address(ip_address)
      except ipaddress.AddressValueError:
          return False
  
      if address.is_unspecified or \
          address.is_loopback or \
          address.is_link_local or \
          address.is_multicast or \
          address.is_reserved:
          return False
  
      return True
docs: Check if the IP address is valid and routable
      Return either True or False