def is_numeric(*p):
    """ Returns false unless all elements in p are of numerical type
    """
    from symbols.type_ import Type
    try:
        for i in p:
            if not i.type_.is_basic or not Type.is_numeric(i.type_):
                return False
        return True
    except:
        pass
    return False
