Generate a python program that has the following intention:

The intention of the program is to check if a given sequence of parentheses "parents" is a valid parenthesization. This means that there should be the same number of opening and closing parentheses, and they should be properly nested. The function "is_valid_parenthesization" does this by keeping track of the current depth of nesting and checking that it is valid for each parenthesis. The function returns True if the sequence of parentheses is valid, and False otherwise. Please reply with exactly 3 paragraphs and separate each paragraph with two new lines. The very 2nd paragraph must start with the word "accounts".
user