Add is_valid() to base::task_handle

is_valid() allows to check whether task handle has a shared state
associate with it.