I have dictionary like below
x_wins = {'row1_X': 'X' == x_o[0] and 'X' == x_o[1] and 'X' == x_o[2],
'row2_X' : 'X' == x_o[3] and 'X' == x_o[4] and 'X' == x_o[5],
'row3_X' : 'X' == x_o[6] and 'X' == x_o[7] and 'X' == x_o[8],
'col1_X' : 'X' == x_o[0] and 'X' == x_o[3] and 'X' == x_o[6],
'col2_X' : 'X' == x_o[1] and 'X' == x_o[4] and 'X' == x_o[7],
'col3_X' : 'X' == x_o[2] and 'X' == x_o[5] and 'X' == x_o[8],
'slant1_X' : 'X' == x_o[0] and 'X' == x_o[4] and 'X' == x_o[8],
'slant2_X' : 'X' == x_o[2] and 'X' == x_o[4] and 'X' == x_o[6]
}
and I want to check if any key gives True. How can I do it? Thx for help.