code: def is_valid(url):
      parsed = urlparse(url)
      return bool(parsed.netloc) and bool(parsed.scheme)
  
imports: import concurrent.futures
  import io
  import re
  import traceback
  from threading import Lock
  from urllib.parse import urljoin, urlparse
  import fitz
  import pandas
  import requests
  from bs4 import BeautifulSoup
  from mindsdb.utilities import log
label_desc: Use image node_id 2 for calling a global function with example usage: is_valid(url) and returns: unknown