public boolean uninstallFilter(final String filterId) {
    if (filterRepository.exists(filterId)) {
      filterRepository.delete(filterId);
      return true;
    } else {
      return false;
    }
  }
Uninstalls the specified filter.

@param filterId the id of the filter to remove
@return {@code true} if the filter was successfully removed; otherwise {@code false}
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/filter/FilterManager.java