Python Isinstance Of Number