Mamdani has attracted scorn from President Donald Trump, who calls him a “little communist” but — like the president — he is something of an establishment “outsider,” according to Costas Panagopoulos, a political science professor at Northeastern University.