purging hasattr from everything but dumpAST (for now)