code: def test_url_validation(url: str, result: bool) -> None:
      assert C.is_valid(url) == result
  
file_path: mindsdb/mindsdb/integrations/handlers/web_handler/tests/test_helpers.py
imports: from unittest.mock import patch
  import pytest
  from bs4 import BeautifulSoup
  from fitz.fitz import FileDataError
  from mindsdb.integrations.handlers.web_handler import urlcrawl_helpers
  from mindsdb.integrations.handlers.web_handler.tests import example_data
label_desc: Use image node_id 1 for calling a global function with example usage: test_url_validation(url, result) without return types