qiskit/pulse/timeslots.py
def is_mergeable_with(self, timeslots: 'TimeslotCollection') -> bool:
        """Return if self is mergeable with `timeslots`.

        Args:
            timeslots: TimeslotCollection to be checked
        """
        for slot in timeslots.timeslots:
            for interval in self._table[slot.channel]:
                if slot.interval.has_overlap(interval):
                    return False
        return True
def is_mergeable_with(self, timeslots: 'TimeslotCollection') -> bool:
        for slot in timeslots.timeslots:
            for interval in self._table[slot.channel]:
                if slot.interval.has_overlap(interval):
                    return False
        return True
def is_mergeable_with ( self , timeslots : 'TimeslotCollection' ) -> bool : for slot in timeslots . timeslots : for interval in self . _table [ slot . channel ] : if slot . interval . has_overlap ( interval ) : return False return True
Return if self is mergeable with `timeslots`.

        Args:
            timeslots: TimeslotCollection to be checked
Return if self is mergeable with timeslots .