Assertion: Glitch detection

I need to write an assertion to detect glitch in a signal, information provided will be helpful.

In reply to kmishra:

First tell us what your definition of a glitch is.