code: def remove_cable_distributor(self, cable_dist):
          
          if cable_dist in self.cable_distributors() and isinstance(cable_dist,
                                                                    MVCableDistributorDing0):
              # remove from array and graph
              self._cable_distributors.remove(cable_dist)
              if self._graph.has_node(cable_dist):
                  self._graph.remove_node(cable_dist)
docs: Removes a cable distributor from _cable_distributors if existing