shortcut containment checking