python: 判断tuple、list、dict是否为空的方法