Zip codes consist of 5 consecutive digits. Given a string, write a function to determine whether the input is a valid zip code. A valid zip code is as follows:
is_valid("59001") ➞ true is_valid("853a7") ➞ false is_valid("732 32") ➞ false
N/A