Remove redundant type check.
Remove redundant type check.

da-woods/cython,scoder/cython,cython/cython,scoder/cython,da-woods/cython,scoder/cython,cython/cython,cython/cython,da-woods/cython,da-woods/cython,cython/cython,scoder/cython