code: def is_sequence_match(pattern: list, instruction_list: list, index: int) -> bool:
      
      for index, pattern_slot in enumerate(pattern, start=index):
          try:
              if not instruction_list[index]["opcode"] in pattern_slot:
                  return False
          except IndexError:
              return False
      return True
docs: Checks if the instructions starting at index follow a pattern.
  
      :param pattern: List of lists describing a pattern, e.g. [["PUSH1", "PUSH2"], ["EQ"]] where ["PUSH1", "EQ"] satisfies pattern
      :param instruction_list: List of instructions
      :param index: Index to check for
      :return: Pattern matched