def in_any_group(self, username, groups):
        return any((self.in_group(username, group) for group in groups))
Find out if a user is in any of a set of groups
dataset/ETHPy150Open mathcamp/pypicloud/pypicloud/access/base.py/IAccessBackend.in_any_group