Python standard hasattr is considered harmful (within Plone projects).
The (hidden) problem with hasattr is that it swallows exceptions, which in your normal business logic you really don’t want to.
Specially in Plone context that could mean swallowing a database error, or a permission exception, etc.
Install with pip:
$ pip install flake8-plone-hasattr
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.