Likewise, please avoid hasattr().