Painful Periods & TTC

Are painful periods an indication of infertility?