def is_pandigital(number, include_zero=False):
    """Determine if a number (as a string) is pandigital"""
    number_set = set(number)
    if include_zero:
        length = 10
    else:
        length = 9
        if '0' in number_set:
            return False
    return len(number_set) == len(number) == length