Call to isJoin is not needed here -- if not a join, hasInlinedIndexScanOfTable will fail quickly enough