Update class_attr_pratice.py

add privacy check example