This feature has been deprecated. Use up.layer.contains()
instead.
Load unpoly-migrate.js
to polyfill deprecated features.
Returns whether the given element or selector is contained within the current layer.
The element to test