code: def test_options_write(base_url):
      url_options = f"{base_url}/sdapi/v1/options"
      response = requests.get(url_options)
      assert response.status_code == 200
  
      pre_value = response.json()["send_seed"]
  
      assert (
          requests.post(
              url_options, json={"send_seed": (not pre_value)}
          ).status_code
          == 200
      )
  
      response = requests.get(url_options)
      assert response.status_code == 200
      assert response.json()["send_seed"] == (not pre_value)
  
      requests.post(url_options, json={"send_seed": pre_value})
  
imports: import pytest
  import requests
label_desc: Use image node_id 1 for calling a global function with example usage: test_options_write(base_url) without return types