code: def setDisallowed(self, laneID, disallowedClasses):
          
          if isinstance(disallowedClasses, str):
              disallowedClasses = [disallowedClasses]
          self._connection._beginMessage(tc.CMD_SET_LANE_VARIABLE, tc.LANE_DISALLOWED, laneID,
                                         1 + 4 + sum(map(len, disallowedClasses)) + 4 * len(disallowedClasses))
          self._connection._packStringList(disallowedClasses)
          self._connection._sendExact()
docs: setDisallowed(string, list) -> None
  
          Sets a list of disallowed vehicle classes.