Nope nothing in the standard library handles it, specially the proxy which is needed in many clusters as the processing nodes have to go through the head node to exit the network in many cases.

I did it a bit different with calling a paramiko line and checking for name error

try:
 paramiko
except NameError:
 raise ImportError(<descriptive message>)