and

Description

and sets as condition that both expressions have to be true, for the entire expression to evaluate to true.

‚Äč

Example

If a bank only offers certain services to people who are a citizen of an EU member state, and also pay taxes in the European Union, this is how to check against both those requirements:

p.nationality in EUCountries
and
p.tax_domicile in EUCountries