has

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

MDN Reference