How To Access Dictionary Values In Python Using And In If Statement