rational?

rational? : (any -> bool)
purpose: to determine whether some value is rational number