The only way you'll know for sure is when the baby is born and you perform a DNA test (cost about $500). You, your boyfriend and the baby. Its painless and 99.9% accurate.
If you want to know. If you do not, just play it like its
your child and who the father is does not matter. All he contributed is 1 sperm, you did the rest. So the baby is yours. Period.