The best way is to use a meat thermometer. Internal temperature of the thighs needs to reach 175°F for the bone-in and 165°F for the boneless pieces.