code: def test_valid_url(self, url, expected_value):
      if expected_value:
          self.assertTrue(valid_url(url))
      else:
          self.assertFalse(valid_url(url))
  
imports: from unittest import mock
  from parameterized import param, parameterized
  import streamlit
  from streamlit.commands.page_config import ENG_EMOJIS, RANDOM_EMOJIS, PageIcon, valid_url
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.PageConfig_pb2 import PageConfig
  from streamlit.string_util import is_emoji
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 19 for calling the PageConfigTest obj's underlying member method code with example usage: obj.test_valid_url(url, expected_value) without return types