import discord


def ALL(user):
    assert isinstance(user, discord.Member)

    return True


def has_role(user, name):
    return name in (_.name.lower() for _ in user.roles)


def ADMIN(user):
    assert isinstance(user, discord.Member)

    return has_role(user, "admin")


def MOD(user):
    return ADMIN(user) or has_role(user, "mod")


def IS(user):
    assert isinstance(user, discord.Member)

    return lambda x: x == user


def ISNOT(user):
    is_f = IS(user)

    return lambda x: not is_f(x)

3a604e4de75d4e93e5b661ff4ab1ac807bca621d
<mask token>


def ALL(user):
    assert isinstance(user, discord.Member)
    return True


def has_role(user, name):
    return name in (_.name.lower() for _ in user.roles)


<mask token>


def MOD(user):
    return ADMIN(user) or has_role(user, 'mod')


<mask token>


def ISNOT(user):
    is_f = IS(user)
    return lambda x: not is_f(x)

<mask token>


def ALL(user):
    assert isinstance(user, discord.Member)
    return True


def has_role(user, name):
    return name in (_.name.lower() for _ in user.roles)


<mask token>


def MOD(user):
    return ADMIN(user) or has_role(user, 'mod')


def IS(user):
    assert isinstance(user, discord.Member)
    return lambda x: x == user


def ISNOT(user):
    is_f = IS(user)
    return lambda x: not is_f(x)

<mask token>


def ALL(user):
    assert isinstance(user, discord.Member)
    return True


def has_role(user, name):
    return name in (_.name.lower() for _ in user.roles)


def ADMIN(user):
    assert isinstance(user, discord.Member)
    return has_role(user, 'admin')


def MOD(user):
    return ADMIN(user) or has_role(user, 'mod')


def IS(user):
    assert isinstance(user, discord.Member)
    return lambda x: x == user


def ISNOT(user):
    is_f = IS(user)
    return lambda x: not is_f(x)

import discord


def ALL(user):
    assert isinstance(user, discord.Member)
    return True


def has_role(user, name):
    return name in (_.name.lower() for _ in user.roles)


def ADMIN(user):
    assert isinstance(user, discord.Member)
    return has_role(user, 'admin')


def MOD(user):
    return ADMIN(user) or has_role(user, 'mod')


def IS(user):
    assert isinstance(user, discord.Member)
    return lambda x: x == user


def ISNOT(user):
    is_f = IS(user)
    return lambda x: not is_f(x)

import discord


def ALL(user):
    assert isinstance(user, discord.Member)

    return True


def has_role(user, name):
    return name in (_.name.lower() for _ in user.roles)


def ADMIN(user):
    assert isinstance(user, discord.Member)

    return has_role(user, "admin")


def MOD(user):
    return ADMIN(user) or has_role(user, "mod")


def IS(user):
    assert isinstance(user, discord.Member)

    return lambda x: x == user


def ISNOT(user):
    is_f = IS(user)

    return lambda x: not is_f(x)
