Or perhaps just

class Object
  def is_i?
    self.is_a? Integer
  end
end