Simpler contains check