def checkListNumbers(self, name, value):
    """
    Checks to make sure a list or tuple contains values that are only numbers

    :param name: string name of the value being checked
    :type name: str
    :param value: A list or tuple, which will be checked to determine if the contents are all numbers.
    :type value: list or tuple
    :returns: If value contains only numbers, value is returned. Else, an exception is raised.
    """
    if not type(value) in [list, tuple, type(None)]:
        raise ValueError(name + ' must be a list/tuple/None')
    if value is not None:
        for v in value:
            if not type(v) in [int, int, float]:
                raise ValueError(name + ' list/tuple elements must be numbers')
    return value