def is_m_to_n_pandigital(num, bound_m, bound_n):
    """
    Determine if a number is m-to-n pandigital.
    """
    digit_count = dict()
    list_form = list(str(num))
    for _digit in list_form:
        # return early if any digit shows up more than once
        if _digit in digit_count.keys():
            return False
        digit_count[_digit] = 1
    target_count = dict()
    for _d in range(bound_m, bound_n + 1):
        target_count[str(_d)] = 1
    # compare two sets
    if digit_count == target_count:
        return True
    return False