"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.validatePosition = validatePosition;
function validatePosition(popup) {
  // popup.offsetParent does not exist if the popup element is not mounted
  if (!popup || !popup.offsetParent) {
    return false;
  }
  return true;
}