Check that the value of your logic for player is either true or false.
if(MyLogicMap[Player]?):
# My Value For Player is TRUE
else:
# My Value For Player is FALSE
Check that the value of your logic for player is either true or false.
if(MyLogicMap[Player]?):
# My Value For Player is TRUE
else:
# My Value For Player is FALSE