Python If Type Is Int