public boolean couldContain(final LogsBloomFilter subset) {
    if (subset == null) {
      return true;
    }
    if (subset.size() != size()) {
      return false;
    }
    for (int i = 0; i < size(); i++) {
      final byte subsetValue = subset.get(i);
      if ((get(i) & subsetValue) != subsetValue) {
        return false;
      }
    }
    return true;
  }
Checks of subset log bloom filter can be contained.

@param subset the subset
@return the boolean
evm/src/main/java/org/hyperledger/besu/evm/log/LogsBloomFilter.java