code: def test_is_url_from_allowed_origins_CORS_off(self):
      with patch(
          "streamlit.web.server.server_util.config.get_option",
          side_effect=[False],
      ):
          self.assertTrue(
              server_util.is_url_from_allowed_origins("does not matter")
          )
  
file_path: streamlit/lib/tests/streamlit/web/server/server_util_test.py
imports: import unittest
  from typing import Optional
  from unittest.mock import patch
  from parameterized import parameterized
  import streamlit.web.server.server_util
  from streamlit import config
  from tests import testutil
label_desc: Use image node_id 2 for calling the ServerUtilTest obj's underlying member method code with example usage: obj.test_is_url_from_allowed_origins_CORS_off() without return types