Mamdani butting in serves as the latest example of the mayor's attempt to flex his socialist bona fides.