Reports mapping a collection to Boolean values and using contains on it.

The quick-fix uses .exists() or !.forall() instead.

Example:


  def p(x: Int): Boolean = ???
  var seq: Seq[Int]
  seq.map(p).contains(true)
  seq.map(p).contains(false)

After the quick-fix is applied:


  def p(x: Int): Boolean = ???
  var seq: Seq[Int]
  seq.exists(p)
  !seq.forall(p)