edit: I'm sure we've all had really stupid requirements pushed on us by the business side for the sake of user experience or increasing metrics. Or written bad code at 3am during crunch time.
https://en.wikiquote.org/wiki/All_the_President%27s_Men_(fil...
Because they knew that, being a save haven for violent white supremacists, it was likely one or more of their service providers would terminate service and wanted to continue to operate despite any termination.
if not twilio_authenticate(user, pass):
return Err()
return User(user)
and: def twilio_authenticate(user, pass):
try:
return twilio.verify(user)
except:
return False
Might independently look reasonable enough.