def check_driver_dependencies(driver, dependencies):
 ret = True
 for (key, value) in six.iteritems(dependencies):
  if (value is False):
   log.warning("Missing dependency: '{0}'. The {1} driver requires '{0}' to be installed.".format(key, driver))
   ret = False
 return ret

def check_driver_dependencies ( driver , dependencies ) : ret = True for ( key , value ) in six . iteritems ( dependencies ) : if ( value is False ) : log . warning ( "Missing dependency: '{0}'. The {1} driver requires '{0}' to be installed." . format ( key , driver ) ) ret = False return ret
check if the drivers dependencies are available .