Returns `true` if this map contains a mapping for the specified key.
K $key The key to check in the map.:
public function containsKey(int|string $key) : bool;