As per the subject
I have already written an existing check-in policy. That code needs to be refactored for commuity consumption and added here.