It's best to check its internal temperature with a meat thermometer. It should be 160°F / 70°C (the safe internal temperature is 165°F/74°C, but since we're letting the meat rest for a while, the residual heat will cook the chicken). You could also just cut the chicken in half to check if the meat is white and not rose and if the juices are running clear - this is not an accurate method.