`editor.doesElementContainSelection`