Checking whether a variable is an integer,(type(x) == int)