s4-dsdb: A helper to determine if an attribute is part of the search filter