seqecontain function

Check if sequence contains events