OutputStreamAthenaPOOL: Simplify the check for doWrite flag in addMetaData
The way things are currently implemented, hasattr
anyways raises a run-time error if the flag is not found (e.g., see ATLASRECTS-7573). So, simplify the check. In general, I think we need to better handle the Output
flags since what we currently have is a bit iffy.