The best way to check if meat is thoroughly cooked is with a digital meat thermometer (affiliate link). If you do not have access to a meat thermometer, you can check if the chicken is done by slicing through the thickest part of the chicken breast. If the meat is no longer pink, and the juices coming from it are clear, then this is a good indication that the chicken is thoroughly cooked.