boolean flag=map.containsKey("opt") 转载 https://blog.youkuaiyun.com/keke921231/article/details/51690125