Checks to see if an invoice exists by PK. This is so we don't have to load a full invoice just to check.
Syntax:
o.isinvoice(lnPK)
See also: