Stocks trading halal , how can we be sure?

AOA, I wanted to ask very simple question about stocks. If there is any company dealing with halal products however if they finance their budget with loan from bank with interest, then holding a share of that company would be halal or haram ? How would one can be sure/certain if the current/previous finances of the company has been funded without interest fundings? Best regards, Waqar