has

external fun has(key: K): Boolean(source)

MDN Reference