Create a function that takes a string (IPv4 address in standard dot-decimal format) and returns true if the IP is valid or false if it's not. For information on IPv4 formatting, please refer to the resources in the Resources tab.
IsValidIP("1.2.3.4") ➞ true
IsValidIP("1.2.3") ➞ false
IsValidIP("1.2.3.4.5") ➞ false
IsValidIP("123.45.67.89") ➞ true
IsValidIP("123.456.78.90") ➞ false
IsValidIP("123.045.067.089") ➞ false"123.045.067.089" should return false).