Add functionality to check if public IP was set