def isPandigital10(s):
    """Check if number is pandigital from 0-9, i.e. that it has all digits
    from 0 to 9."""
    if len(s) != 10:
        return False
    for i in range(0, 10):
        if s.find(str(i)) == -1:
            return False
    return True