def isDown(self):
        # 0->0, 1->1, 2->0, 3->1, 4->0, 5->1
        return (self.DOWN_ATTRIBUTE & self.getCurrentFace().getFaceID()) > 0
Create a new security group from attributes
dataset/ETHPy150Open anandology/pyjamas/library/pyjamas/ui/CustomButton.py/CustomButton.isDown--crossover with--dataset/ETHPy150Open openstack/python-openstacksdk/openstack/network/v2/_proxy.py/Proxy.create_security_group