def has_superclass?(child, ancestor)
      if child.superclass == ancestor
        true
      elsif child.superclass.nil?
        false
      else
        has_superclass?(child.superclass, ancestor)
      end
    end
def has_superclass?(child, ancestor)
      if child.superclass == ancestor
        true
      elsif child.superclass.nil?
        false
      else
        has_superclass?(child.superclass, ancestor)
      end
    end
It seems like there must be a builtin for this, but I'm not
 finding it.