Dataset.getRawInstance function input check