Check also for the presence of end sentinel