Python Check If Multiple Variables Equal Pay