bootindex: add check bootindex function