@Override
	public boolean containsKey(short key) {
        if ((key < 0) || (key >= size)) {
            return false;
        }
        return isBitSet(power2+key);
    }
Determines if a given key is in the set.
@param key the key to check if it is in this set.
@return true if the key is in the set.
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/BitTree.java