Gambling and Mortgages

Does gambling affect your mortgage application?