pub fn stack_has_struct_inst(
    state: &AbstractState,
    struct_index: StructDefInstantiationIndex
) -> bool