@Override
    public Set<Long> findLockedMeta(final Collection<Long> metaIdCollection) {
        return JooqUtil.contextResult(metaDbConnProvider, context -> context
                .select(META.ID)
                .from(META)
                .where(META.ID.in(metaIdCollection))
                .and(META.STATUS.eq(MetaStatusId.LOCKED))
                .fetchSet(META.ID));
    }
@return True if any term in any rule expression uses at least one of {@code fields}.
stroom-meta/stroom-meta-impl-db/src/main/java/stroom/meta/impl/db/MetaDaoImpl.java