def isclass(object):
    return isinstance(object, types.ClassType) or hasattr(object, '__bases__')
Resolves a host string to an IP address in canonical format.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/inspect.py/isclass--crossover with--dataset/ETHPy150Open arlolra/flashproxy/flashproxy/util.py/resolve_to_ip