Remove isStringInList method