有没有办法在 case/match 条件中包含 "and" 运算符?

Is there a way to include "and" operator in a case/match condition?

根据 Python documentation,我们可以在 match/case 中使用 OR 运算符,如下所示:

match True:
    case(condition_1 | condition_2):
        # code

我想知道是否有办法用 AND 运算符做同样的事情,就像这个例子:

match True:
    case(condition_1 & condition_2):
        # code

提前致谢

做这样的事情怎么样?

cond1 = 'key' in dict_1
cond2 = 'key' in dict_2

match (cond1, cond2):
    case (True, True):
        ...
    case (True, False):
        ...
    case (False, True):
        ...
    case (False, False):
        ...