code: def test_is_image_url(text: str, expected: bool) -> None:
      assert is_image_url(text=text) == expected
  
file_path: datasets-server/libs/libcommon/tests/test_utils.py
imports: from contextlib import nullcontext
  from typing import Any
  import numpy
  import pandas
  import pytest
  from libcommon.exceptions import DatasetInBlockListError
  from libcommon.utils import inputs_to_string, is_image_url, orjson_dumps, raise_if_blocked
label_desc: Use image node_id 2 for calling a global function with example usage: test_is_image_url(text, expected) without return types