It'll barf as it encounters orgs with the API disabled. When they're in alphabetical order, it's real easy to go into the Dashboard and enable it. I have 65ish orgs right now, so I need all the help I can get.
I mean, real spoiler is I use the filterOrgList function with some modifications (I use a dataclass instead of a class, add a trimmed shardurl, add a menu number) in most of my scripts. 🙂