def setImage(self, image):
        self.face = image.getElement()
        self.button.updateButtonFace()
Verify that the netmask/prefixlen is valid.
dataset/ETHPy150Open anandology/pyjamas/library/pyjamas/ui/CustomButton.py/Face.setImage--crossover with--dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/dep/ipaddress.py/IPv6Network._is_valid_netmask