Change type check to isinstance in pipes (GH-27291) (GH-27416)

(cherry picked from commit 9ffbb899462b819864f777d0228fb8f1bb89b018)

Co-authored-by: Anton GrĂ¼bel <anton.gruebel@gmail.com>
1 file changed