The easiest way to know whether or not your chicken has finished cooking is to try and shred it with two forks.  If it won’t shred easily, toss it back in and keep cooking.  The internal temperature needs to reach 165 degrees F for it to be eaten safely, so you can also use a meat thermometer to check.