My $200 rusty ebike has been parked outside for 18 months in central London without problems. I take the battery in. The homeless junkie would have to get an angle grinder to cut two D locks, figure out how to buy the battery which costs $300 and is only available from decathlon, somehow try to make a profit out of the whole operation which I don't think I could myself and so on.
It's actually cost me about another $500 in maintenance getting the various bits that pack up replaced but it's a good theft deterrent.
I guess it varies by location but we have homeless druggies and bike thieves here too. I think old rusty stuff not being very attractive to thieves is fairly universal.
You might have different problems but you don't have the American problem with bike theft. Homeless here steal bikes regardless of their price and condition.