Safe sex

Is it possible to get pregnant if you use a condom and pull out way before ejaculation. (Checked for holes and there is none)