accepted_options_1 = ["Describes day-to-day responsibility for implementing HRs commitments", "Day-to-day resources and expertise allocation in own operations", "Resources and expertise allocation in supply chain"] accepted_options_2 = ["Describes day-to-day responsibility for implementing HRs commitments", "Day-to-day resources and expertise allocation in own operations", "Resources and expertise allocation with EX BPs"] all = (source, target) -> for element in source if element not in target return false return true if all(accepted_options_1, b11s2) || all(accepted_options_2, b11s2) "Yes" else if "None of the above" in b11s2 "No" else "Partially"