Added isIframe method