def has_c():
    """Is the C extension installed?"""
    try:
        from pymongo import _cmessage
        return True
    except __HOLE__:
        return False
dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/__init__.py/has_c