Check is the pop sequence valid