fix: use duck-typing check in place of isinstance(..., np.ndarray)
#402
Merged
douglasdavis merged 3 commits intodask-contrib:main from douglasdavis:make-check-duck-typing-checkNov 2, 2023
+13-4
isinstance(..., np.ndarray)
#402