写入python obj时增加容错判断，写入成功返回True,否则False