'check if we support parfor translation for
this Numpy reduce call.'

def _is_supported_npyreduction(self, expr):

    if (not (isinstance(expr, ir.Expr) and (expr.op == 'call'))):
        return False
    if (expr.func.name not in self.array_analysis.numpy_calls.keys()):
        return False
    if (self.array_analysis.numpy_calls[expr.func.name] in _reduction_ops):
        for arg in expr.args:
            if (not self._has_known_shape(arg)):
                return False
        return True
    return False
