Use A Variable From Another Function Python Questions For If Statement