I spend most of my time looking for code that already accomplishes what we need to do, or rather finding the closest…