A judgment is the mental act by which one thing is affirmed or denied of another.