Checking your credit score before applying for a loan is a good way to see whether a bank is prepared to lend you money.