Call Variable From Another Function Python Syntax For If Statement