fn gen_bool_accessor<T: Fn(&Rc<InstructionContent>) -> bool>(
    all_inst: &Vec<Rc<InstructionContent>>,
    get_attr: T,
    name: &'static str,
    doc: &'static str,
    fmt: &mut Formatter
)