def valid?(enumerator)
      return false unless Is[Enumerator].valid?(enumerator)

      enumerator.all? { |obj| Is[type].valid?(obj) }
    end
def valid?(enumerator)
      return false unless Is[Enumerator].valid?(enumerator)

      enumerator.all? { |obj| Is[type].valid?(obj) }
    end
Notice that the method will actually iterate over the enumerator
 @param enumerator [Enumerator]