'Checks that the arguments are valid.
Left-hand argument must be constant.'

def validate_arguments(self):

    if (not self.args[0].is_constant()):
        raise ValueError('The    first    argument    to    mul_elemwise    must    be    constant.')
