m6 = "Yes" if (typeof m6 == 'string') && m6.match("Yes") m7 = "Yes" if ["Full", "Foundation stage"].includes m7 if [m1, m2, m3, m4, m5, m6, m7].includes "Yes" "Yes" else "No"