New function isInfixOf that searches a list for a given sublist