public boolean allows(InstructionSequence instSeq) {
		if (instSeq.getInstructions() == null) {
			return false;
		}
		//filter wants to check more instructions that this InstructionSequence has, so return false
		if (instSeq.getInstructions().length < instructions.size()) {
			return false;
		}

		for (int i = 0; i < instructions.size(); ++i) {
			String currentInst = instSeq.getInstructions()[i];
			if (currentInst == null) {
				return false;//ith instruction in filter can't be null - see constructor
			}
			if (!(currentInst.equals(instructions.get(i)))) {
				return false;
			}

			Integer currentSize = instSeq.getSizes()[i];
			if (currentSize == null) {
				return false;//ditto for the ith size
			}
			if (!currentSize.equals(lengths.get(i))) {
				return false;
			}
		}
		return true;
	}
Determine whether {@link instSeq} passes the filter.
@param instSeq
@return {@code true} precisely when each instruction and size in the filter matches those in {@link InstSeq}.
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/InstructionSequenceTreePathFilter.java