Returns whether the given element is contained by the current layer.
This is a shortcut for up.layer.current.contains(element).
See up.Layer#contains for more documentation.
Whether the layer contains the element.
Tip Your coding agent can search these docs locally with the Unpoly agent skill