isValid

fun isValid(postalCode: String, countryCode: String): Boolean
  1. if there is a regex for the country code, validate the postal code against it

  2. if the country does not use a postal code, treat postal code as valid

  3. otherwise, postal code must be not-blank