Currently to determine if a task is using taskprov, we check if the request contains a taskprov advertisement but, if that fails, we also check if the task id of the request was previously seen and that it was in fact configured via taskprov. This can be seen in the else if here
My understanding of the taskprov draft is that the tasprov advertisement should always be present and this fallback should be unnecessary.