def is_down(self):
        return (self._state & self._ofproto.OFPPS_LINK_DOWN) > 0 \
            or 0 > (self._config & self._ofproto.OFPPC_PORT_DOWN)
dataset/ETHPy150Open osrg/ryu/ryu/topology/switches.py/Port.is_down/swapped operands of `>`