This follows the same pattern as the `validate_task_states` method below it.

@cpennington Any suggestions?