check_countries_api function

Check if the connection to Countries REST API is working