What is the function of the identity check