Mortgage after Pay Day Loans

Can payday loans stop me from getting a mortgage?