Check whether pre and post analysis options are active

Signed-off-by: Prashant Shah <prashah360@gmail.com>