Cleaner isInfixOf suggestion from Ross Paterson