Has the concept of genies ever been explored in the Harry Potter universe? Would they be classified as beasts or beings? What are their origins? How are they view by wizards from an academic standpoint?

Oh, all sorts of random ponderings just circling through my head.