PlasmaCalcs.tools.math.is_integer

PlasmaCalcs.tools.math.is_integer(x)
return whether x is an integer.
by first checking isinstance(x, int),
if that’s False, check x.is_integer() if it exists,
else return False.