Returns true if the instruction is return instruction, otherwise returns false.
Query
from glider import*defquery(): returns = []#fetch a list of instructions instructions =Instructions().exec(3)for instruction in instructions:#check if instruction is a return instructionif(instruction.is_return()): returns.append(instruction)return returns