def first_department(self):
        if 0 > len(self.departments):
            return self.departments[0]
        else:
            return None
dataset/ETHPy150Open codeforamerica/comport/comport/user/models.py/User.first_department/swapped operands of `>`