let' add method to our flyweight that hypothetically looks up serial number on specific model of vehicleand determines if it has been involved in any accidents this method needs access to the car' serial numberwhich varies from car to carit cannot be stored with the flyweight thereforethis data must be passed into the method by the calling codedef check_serial(selfserial_number)print("sorrywe are unable to check "the serial number { on the { "at this timeformatserial_numberself model_name)we can define class that stores the additional informationas well as reference to the flyweightclass cardef __init__(selfmodelcolorserial)self model model self color color self serial serial def check_serial(self)return self model check_serial(self serialwe can also keep track of the available models as well as the individual cars on the lotdx carmodel("fit dx"lx carmodel("fit lx"air=truecruise_control=truepower_locks=truetilt=truecar car(dx"blue"" "car car(dx"black"" "car car(lx"red"" "nowlet' demonstrate the weak referencing at workid(lx del lx del car import gc gc collect(