Removed extra indent to allow the function to return false if an IP is not able to be converted