docstr: Requesting a rerun while STOPPED will return False.
docstr_tok: ["Requesting","a","rerun","while","STOPPED","will","return","False","."]
code: def test_rerun_while_stopped(self):
      """Requesting a rerun while STOPPED will return False."""
      reqs = ScriptRequests()
      reqs.request_stop()
      success = reqs.request_rerun(RerunData())
      self.assertFalse(success)
      self.assertEqual(ScriptRequestType.STOP, reqs._state)
  
imports: import unittest
  from typing import Optional
  from streamlit.proto.WidgetStates_pb2 import WidgetState, WidgetStates
  from streamlit.runtime.scriptrunner.script_requests import RerunData, ScriptRequest, ScriptRequests, ScriptRequestType
label_desc: Use image node_id 3 for calling the ScriptRequestsTest obj's underlying member method code with example usage: obj.test_rerun_while_stopped() without return types