def has_vacancy(self):
        self.update_vacancy()
        if self.modality.vacancy > 0:
            return True
        return False
Sequence lenght
dataset/ETHPy150Open dgraziotin/dycapo/server/models/trip.py/Trip.has_vacancy--crossover with--dataset/ETHPy150Open cjlee112/pygr/tests/sequence_test.py/Sequence_Test.test_seqtype