Check If Variable Is Integer In Python