def METHOD_NAME(self):
    cmd = ['scsimgr', 'get_attr', '-p', '-a', 'leg_mpath_enable']
    p = Popen(cmd, stderr=None, stdout=PIPE, close_fds=True)
    buff = p.communicate()
    ret = p.returncode
    if ret != 0:
        self.log.error("can not fetch 'leg_mpath_enable' value")
        raise ex.Error
    if 'false' in buff[0]:
        return
    cmd = ['scsimgr', 'save_attr', '-a', 'leg_mpath_enable=false']
    self.log.info(' '.join(cmd))
    p = Popen(cmd, stderr=None, stdout=PIPE, close_fds=True)
    p.communicate()
    ret = p.returncode
    if ret != 0:
        self.log.error("can not set 'leg_mpath_enable' value")
        raise ex.Error