import operator


def get_out_operands(instruction_form):
    """Returns a list indicating which operands are written by this instruction form"""
    return tuple(map(operator.attrgetter("is_output"), instruction_form.operands))