This doesn't seem to be used anywhere and I find the name misleading, can we eventually remove this isFrame helper?