isInaccessible

external fun isInaccessible(element: Element): Boolean(source)

https://testing-library.com/docs/dom-testing-library/api-helpers#isinaccessible