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