Someone else on this forum has it right. Music is like candy, much better without the (w)rappers.
Taken as written, the final part of that sentence makes it clear rap is part of music, even if it isn't to one's taste. It's certainly not to mine. Nor is opera, most disco and assorted other genres. Not my taste. But certainly music, and worthy of respect for those who put their talents into them, and worthy of respect for those whose tastes do lie in those directions. The same goes for certain types of books, TV shows, movies....
Denigrating something you happen to dislike as not being "legitimate" alongside other forms of the same type of expression speaks far more about the one doing the denigrating than the art form itself.