Check if course is already published, archived or a draft before updating publising, archiving or reverting to draft.