isInstanceOf method has been added in NumberRangeAttribute.