Implemented the function to check mutual exclusiveness on chaining. (halfway)