Returns whether the given element is contained by the current layer.
element
This is a shortcut for up.layer.current.contains(element). See up.Layer#contains for more documentation.
up.layer.current.contains(element)
up.Layer#contains