this check should be somewhere else since it doesn't have to do with the header.  it shouldn't be in the _addInferenceHeader method.