In this part of the course, we will create two helper functions that will be utilized for type checking in our cloning function.