new function isInfoWindowOpen