Don't use HasField() for a repeated field (#1163)
Don't use HasField() for a repeated field (#1163)

* Use hasattr instead

* Remove fluff

* Keep it for safety

This reverts commit 1ae020e3044c5bfe489c6749262b93306e1e3802.
mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb