isDefinedAt

For the Seq's isDefinedAt function go here.

trait Map[K, V] {
  def isDefinedAt(k: K): Boolean
}

isDefinedAt checks whether this Map contains any element with a given key k, returning true if so.

When there is no element defined with key k this function returns false.