java check if string contains any substring from list