parameters: (self, valid)
docstring: Sets the docking direction as valid or invalid.
  
          :param bool `valid`: whether the docking direction is allowed or not.
docstring_summary: Sets the docking direction as valid or invalid.
docstring_tokens: Sets the docking direction as valid or invalid .
function: def SetValid(self, valid):
          """
          Sets the docking direction as valid or invalid.
  
          :param bool `valid`: whether the docking direction is allowed or not.
          """
  
          self._valid = valid
function_tokens: def SetValid ( self , valid ) : self . _valid = valid