In bankruptcy proceedings, a debt is secured if the debtor gave the creditor a right to repossess the property or goods used as collateral.