Randy Mastro relishes a good legal fight — and Mayor Mamdani is providing plenty of opportunities to mix it up.