Local lookup when logging

Would it be possible to check the local file for previous contacts with a call? This would be excellent in cases of stations who are not on QRZ, or where a note has been added to a previous QSO that might be important.

Ian