url_check function

Check if the value for the base_url argument has a correct structure