def is_admin(self):
        def names(role):
            return role.name
        return map(names, self.roles) in "admin"
dataset/ETHPy150Open codeforamerica/comport/comport/user/models.py/User.is_admin/swapped operands of `in`