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