Check If Variable Is A Number Python