def oid_generated_on_client(oid):
    pid_from_doc = struct.unpack(">H", oid.binary[7:9])[0]
    return (os.getpid() % 0xFFFF) == pid_from_doc
Is this process's PID in this ObjectId?
dataset/ETHPy150Open mongodb/mongo-python-driver/test/utils.py/oid_generated_on_client