[galaxy-commits] [galaxyproject/galaxy] e66da3: Use hasattr instead of relying on value