History is history
If someone has previously given birth to a premature infant, then they have a "history of premature birth.
" the only test would be to ask the question. History can be personal history (specific to the person you are asking), or family history (the person or any of their blood relatives: parents, siblings, grandparents, aunts, uncles, etc.).