Python If Type Is Float Glass