visitor pattern exercises use the process from the "parting shotssection and code your way to deeper understanding of the visitor patternif you have not been doing so throughout the book find an interesting python package in the standard library and code through thatseeing how these developers do things differently from you write the tests for these states where person and person are either there or not make sure you cover all the possible options in these tests extend the code in each instance to accommodate friends coming over for social gathering think about the other design patterns in this bookare there other ones that would make the code betterif soimplement the solution using this design pattern in order to crystallize the reason why the visitor pattern makes adhering to the open-closed principle easieryou are going to add another device to our system-- streaming media entertainment center this device comes with python bindingsbut we do not have access to the inner workings of the device for some reason add this object to our network and define dummy interface to mimic the interface provided thenadd custom settings for each of the states in the home add the state pattern to the final piece of code in this to allow you to handle the four scenarios we discussed how do you need to think differently about the code we wrote in the thendecide if implementing the state patternin this casemakes the solution better or worse think specifically about maintenance and the principles we talked about thus far