class_docstr: SumoTLManager is responsible for the management of the sumo traffic lights (i.e., keeps control
  of the current program, phase, ...)
class_docstr_tok: ["SumoTLManager","is","responsible","for","the","management","of","the","sumo","traffic","lights","(","i.e.",",","keeps","control","of","the","current","program",",","phase",",","...",")"]
docstr: Updates the state of all the signals associated with the given landmark.
docstr_tok: ["Updates","the","state","of","all","the","signals","associated","with","the","given","landmark","."]
code: def set_state(self, landmark_id, state):
      """
      Updates the state of all the signals associated with the given landmark.
      """
      for tlid, link_index in self.get_all_associated_signals(
          landmark_id
      ):
          traci.trafficlight.setLinkState(tlid, link_index, state)
      return True
  
imports: import collections
  import enum
  import logging
  import os
  import carla
  import sumolib
  import traci
  from .constants import INVALID_ACTOR_ID
  import lxml.etree
label_desc: Use image node_id 8 for calling the SumoTLManager obj's underlying member method code with example usage: obj.set_state(landmark_id, state) and returns: True