Key legal checklist for buying a property