This function takes an iterable of boolean expressions and builds an AND expression from them.
If the iterable is empty, it returns a constant true expression.
Otherwise, it reduces the iterable to a single expression using the & operator, and checks if the result equals true.
This function takes an iterable of boolean expressions and builds an OR expression from them.
If the iterable is empty, it returns a constant true expression.
Otherwise, it reduces the iterable to a single expression using the | operator, and checks if the result equals true.