The courage Mamdani displays in taking unpopular stances is a defining feature.