def fast_connect_test(**kwargs):
 try:
  if ('api_login_timeout' not in kwargs):
   kwargs['api_login_timeout'] = 0
  with _IpmiSession(**kwargs) as s:
   return True
 except Exception as e:
  return False
 return True

def fast_connect_test ( ** kwargs ) : try : if ( 'api_login_timeout' not in kwargs ) : kwargs [ 'api_login_timeout' ] = 0 with _IpmiSession ( ** kwargs ) as s : return True except Exception as e : return False return True
returns true if connection success .