Simplify Is*Error() methods to not check for pointer types