options = [ "Risk-based questionnaires" "Use of risk management tool or software" "Conducting research" ] dropOption = "In Development" if [m1].flat().filter( (v) -> options.includes v).length m1.filter (v) -> v != dropOption else "None"