check if `x` is an integer,(type(x) == int)