This feature has been deprecated. Use up.layer.isOverlay() instead.
up.layer.isOverlay()
Load unpoly-migrate.js to polyfill deprecated features.
unpoly-migrate.js
Returns whether an overlay is currently open.