def _are_in_sequence(self, a, b):
        details_a = self._get_interface_details(a.name)
        details_b = self._get_interface_details(b.name)
        return details_a.port + 1 == details_b.port or details_a.port_prefix == details_b.port_prefix
dataset/ETHPy150Open internap/fake-switches/fake_switches/dell/command_processor/enabled.py/DellEnabledCommandProcessor._are_in_sequence/operator `and` -> `or`