Remove one of the checks, since `null instanceof X == false`:
```
checkArgument(input instanceof Map<?,?>, "input must be a non-null java.util.Map");
```