IPO investing is never easy. But there are certain criteria that can make the difference between a successful IPO and a flop. The recent debuts of Potbelly Corporation (NASDAQ: PBPB) and Empire State Realty Trust (NYSE: ESRT) illustrated the distinction perfectly.