Say the program is in the middle of executing Instruction 2b.
Instruction 1
Instruction 2
Instruction 2a
Instruction 2b
Instruction 2c
Instruction 3
Is it possible to programmatically figure out that 2b was called by instruction 2?
Context: I want to forbid anyone from calling a specific instruction in my program via CPI.