policy_value = "Energy & Carbon Emissions" vals = [] vals.push "Yes - own operations" if m1.includes policy_value vals.push "Yes - supply chain" if m2.includes policy_value if vals.length vals else "No"