Python See If A Variable Has Two