don't do that. use: log is not None