def iscode(object):
    return isinstance(object, types.CodeType)

# ------------------------------------------------ argument list extraction
# These constants are from Python's compile.h.
Return true if the object is a code object.
dataset/ETHPy150Open cournape/Bento/bento/compat/inspect.py/iscode