Updated comments for `is_RegExp` function