'Get vf state {True/False}
@param vf_index: vf index
@todo: Handle "auto" state'

def get_vf_state(self, vf_index):

    try:
        out = self._as_root([], 'link', ('show', self.dev_name))
    except Exception as e:
        LOG.exception(_LE('Failed    executing    ip    command'))
        raise exc.IpCommandDeviceError(dev_name=self.dev_name, reason=e)
    vf_lines = self._get_vf_link_show([vf_index], out)
    if vf_lines:
        vf_details = self._parse_vf_link_show(vf_lines[0])
        if vf_details:
            state = vf_details.get('link-state', self.LinkState.DISABLE)
        if (state != self.LinkState.DISABLE):
            return True
    return False
