The supports() static method of the ClipboardItem interface returns true if the given MIME type is supported by the clipboard, and false otherwise.
supports()
true
false