def is_duplicated(self, interval, groundstation, spacecraft):
        """Manager method
        Checks whether the on-going propagation of the passes is a duplicated
        one in the sense that the system has reloaded within the propagation.
        This situation has to be avoided since the generated slot passes will
        be duplicated. This check is done in a pair sc/gs basis so that in case
        the slots where not propagated for this given pair, they do have to get
        propagated now.

        :param interval: Interval for the propagation of the slots
        :param groundstation: Groundstation object
        :param spacecraft: Spacecraft object
        :return: 'True' in case this interval has already been propagated.
        """
        last_pass = None

        try:
            last_pass = self.filter(
                groundstation=groundstation, spacecraft=spacecraft
            ).latest('start')
        except PassSlots.DoesNotExist:
            logger.info('>>> No slots found, skipping')
            return

        if not last_pass:
            return False

        if last_pass.end > interval[0]:
            return True
        else:
            return False
dataset/ETHPy150Open satnet-project/server/services/simulation/models/passes.py/PassManager.is_duplicated/original