def invert(self):

        self.r ^= 0xFF
        self.g ^= 0xFF
        self.b ^= 0xFF
checks if all labels in a node are identical
dataset/ETHPy150Open facelessuser/ColorHelper/lib/rgba.py/RGBA.invert--crossover with--dataset/ETHPy150Open balajiln/mondrianforest/src/mondrianforest.py/MondrianTree.check_if_labels_same