I've just installed Lineage 15.1 unrooted on my Lenovo P2 and the app is still claiming that its rooted.
Non of my other banking/Finance apps have any issues.
This situation is a bit bonkers because the reason that I switched to Lineage is because Lenovo have not released any security patches...