In the following list:
empList = ['one','two','finish','one','three']
I am required to evaluate conditions based on empList:
Condition 1: If 'two' appears before 'finish', set this.beforeCheckFlag = true
Condition 2: If 'two' appears after 'finish', set this.afterCheckFlag = true