Reports an emptiness check of the Map.get result and suggests replacing it with a call to Map.contains.

Example:


  val map = Map(1 -> 42)
  map.get(key).nonEmpty
  map.get(key).isEmpty

After the quick-fix is applied:


  val map = Map(1 -> 42)
  map.contains(key)
  !map.contains(key)