actually was choosing between instanceof and "limit == null", but thought instanceof might be safer in case of type conversion.
what's your opinion?