def isclass(object):
    if sys.version_info[0] < 3:
        return isinstance(object, types.ClassType) or hasattr(object, '__bases__')
    else:
        return isinstance(object, type) or hasattr(object, '__bases__')
Remove a user from the minion
dataset/ETHPy150Open cournape/Bento/bento/compat/inspect.py/isclass--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/mac_user.py/delete