isInfixOf moved to upstream