public boolean isMatch(int pos, int val) {
		if (pos >= bits.length) {
			return false;
		}
		return ((byte) (val & dits[pos])) == bits[pos];
	}
Check for a match of a value at a certain offset in the pattern.
An outside matcher will keep track of the match position within this
ditted bit sequence.  Then call this method to match.

@param pos position in the pattern to match
@param val a byte to be match at the given byte offset in the pattern

@return true if the byte matches the sequence mask/value
Ghidra/Features/Base/src/main/java/ghidra/util/bytesearch/DittedBitSequence.java