ASUS Interview Question

given a string of numbers, determine can it be a valid IPv4 format?