code: def in_subnet(cidr, addrs=None):
      
      for address in addrs:
          if ip_in_subnet(address, cidr):
              return True
      return False
docs: Returns True if host is within specified subnet, otherwise False