add Is
add a helper for random test