判断position是否是头部
bool isHeader(int position) { return isExistHeader && position == getHeaderPosition(); }