You should rename it to isOpenedInTab().