A court hearing that begins on Thursday will determine whether the nonprofit, West Penn Allegheny Health System, is driven into bankruptcy or will be allowed to seek other suitors after a $475 million merger deal with insurer Highmark Inc crumbled. At stake is the fate of West Penn and nearly $740 million of municipal debt it issued in 2007.