def and_filter(filter_predicate_one, filter_predicate_two):
    """Combine two filter predicates with the logical AND."""
    return lambda properties: filter_predicate_one(properties
        ) and filter_predicate_two(properties)
