Are you referring to st sophia? I think that mosque was turned into a museum not too long ago.
Yes, it is a National Museum now. Pope Benedict XVI and the Eastern Patriarchs visited there on his visit to Turkey last year. It is beautiful. It was the result of some very touchy negotiations to host the Pope’s visit.