The Supreme Court said Monday it will decide whether homeowners who declare bankruptcy can void a second mortgage if the home’s market value has dropped below the amount they owe on the first mortgage.

The justices will consider two appeals from Bank of America, which asserts that bankrupt homeowners should not be able to “strip off” a second loan even if they are underwater on primary loans.