As usual it depends on how it's handled. Boss battles can be amazing for helping expand your understanding of mechanics with a worthy rival. Other times they can stall a game and be pointless damage sponges. Ninja Gaiden or Souls games have good boss fights, as for older games like Mega Man, but not all do.