Hasattr Function In Python Practice Question