can check for the presence of collection items by key or index