The getBank.open() deals with this already, it does check for a Bank option afaik
It will even walk yourself to the closest bank if you use it.
For example:
1. Chop logs at port sarim
2. Call getBank.open()
3. It will walk to the closest bank available amd opens it