def METHOD_NAME(self):
    for i in range(MAX_SET_SIZE):
        socket = self.outputs[i]
        desired_state = (i > (self.num_sockets_per_set - 1))
        if socket.hide != desired_state:
            socket.hide_safe = desired_state