Expose new method task.exists in grunt object.