Instruction.is_expression()

Returns true if the instruction is an expression instruction, otherwise returns false.

Query

from glider import *
def query():
  expressions = []
  #fetch a list of instructions
  instructions = Instructions().exec(10)
  for instruction in instructions:
    #check if instruction is an expression instruction
    if(instruction.is_expression()):
      expressions.append(instruction)  
  return expressions

Output

{
  "contract": "0x798AcB51D8FBc97328835eE2027047a8B54533AD",
  "contract_name": "Ownable",
  "sol_function": "constructor() {\n        _setOwner(_msgSender());\n    }",
  "sol_instruction": "_setOwner(_msgSender())"
}