<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_cable_distributor(self, cable_dist):
 """Removes a cable distributor from _cable_distributors if existing"""

        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)