Added methods to query if JobStatus is valid.

Fixes #12.

Still need to add tests.