A way to set whether to use indentLine at startup

I need this function..

I also use a following map to make things work together better..
nnoremap <leader>ig :IndentLinesToggle<CR>:set list! lcs=tab:\\|\<Space><CR>