def METHOD_NAME(self, node):
    nb_inp = len(node.inputs)
    nb_out = nb_inp - 1
    # First input is connected to no output and every other input n is
    # connected to input n-1
    connections = [
        [out_idx == inp_idx - 1 for out_idx in range(nb_out)]
        for inp_idx in range(nb_inp)
    ]
    return connections