Is The Picture of Dorian Gray is considered to be a immoral novel?

It was in its own age.