code: def find_by_opcode( checked_ops, opcode ):
      
  
      if type(opcode) != list:
          opcode = [opcode]
  
      ret = []
      for opdata in checked_ops:
          if op_get_opcode_name(opdata['op']) in opcode:
              ret.append(opdata)
  
      return ret
docs: Given all previously-accepted operations in this block,
      find the ones that are of a particular opcode.
  
      @opcode can be one opcode, or a list of opcodes
      
      >>> find_by_opcode([{'op': '+'}, {'op': '>'}], 'NAME_UPDATE')
      [{'op': '+'}]
      >>> find_by_opcode([{'op': '+'}, {'op': '>'}], ['NAME_UPDATE', 'NAME_TRANSFER'])
      [{'op': '+'}, {'op': '>'}]
      >>> find_by_opcode([{'op': '+'}, {'op': '>'}], ':')
      []
      >>> find_by_opcode([], ':')
      []