if combination of strings (s3) (s1, s2) valid