Check for string instead for list

thus we can iterate over all iterables that are put in.