[CodingStyle] TabStackedWidget::isValid should be private

And also choose better name - validIndex