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

def _is_supported_npycall(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
    call_name = self.array_analysis.numpy_calls[expr.func.name]
    supported_calls = (['zeros', 'ones'] + random_calls)
    if (call_name in supported_calls):
        return True
    if (call_name == 'dot'):
        if ((self._get_ndims(expr.args[0].name) <= 2) and (self._get_ndims(expr.args[1].name) == 1)):
            return True
    return False
