def in_one_group(user, groups=None):
    """
    Checks if user is at least in one of the provided groups
    """
    return True if any(map(lambda each: each in groups, user.groups.all())) else False