MAINT: add underscore prefix to isComplexType because it is not used outside of linalg.py