Add a method to check the status

Add a method to check the status.
Method that added is a method of the following.

* isPassed
* isFailed
* isIncomplete
* isPending