def oid_generated_on_client(oid):
 pid_from_doc = struct.unpack('>H', oid.binary[7:9])[0]
 return ((os.getpid() % 65535) == pid_from_doc)

def oid_generated_on_client ( oid ) : pid_from_doc = struct . unpack ( '>H' , oid . binary [ 7 : 9 ] ) [ 0 ] return ( ( os . getpid ( ) % 65535 ) == pid_from_doc )
is this processs pid in this objectid? .