advanced_image_processing: Changed an is type check to isinstance.
advanced_image_processing: Changed an is type check to isinstance.

nanshe-org/nanshe,jakirkham/nanshe,DudLab/nanshe,jakirkham/nanshe,DudLab/nanshe,nanshe-org/nanshe