Any accommodation endorser or surety may, in like manner, sue out an attachment against the property of such endorsor's or surety's principal, as a security for the liability, whether the debt on which the accomodation endorsed or surety is bound be due or not.