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