def findElement(e: String, dict: Map[String, Any]): Option[Any] =
dict.get(e)
Regardless of Map implementation, maps are key value. dict.get is a key look up that returns Some(value) or None.
The performance characteristic is eC, Effectively Constant. Depending on Map implementation the performance characteristic is O(1) for hash map, O(log n) for tree implementations like.