if(map != null){...}