Helper method to check if a credit or debit entry has been recorded against an account for a specific source document