def DisableInterfaces(interface):
  set_tested_versions = ['vista', '2008']
  set_args = ['/c', 'netsh', 'set', 'interface', interface, 'DISABLED']
  host_version = platform.platform().lower()
  for version in set_tested_versions:
    if host_version.find(version) != -1:
      # pylint: disable=undefined-variable
      res = client_utils_common.Execute('cmd', set_args,
                                        time_limit=-1, bypass_whitelist=True)
      return res
  return ('', 'Command not available for this version.', 99, '')
search for a globally named object 'modulename' and return it.
dataset/ETHPy150Open google/grr/executables/python_hacks/modify_network.py/DisableInterfaces--crossover with--dataset/ETHPy150Open ufora/ufora/ufora/FORA/python/ModuleImporter.py/importModuleAndMemberByName