add function isOutOfRange since 6.5.3