It is a big argument, if Petra was first inhabited by the Bedouins BEFORE the Nabatean and Roman constructions, or after...
The case is, the 'houses' dug in the beautiful rock, have been lived for thousands of years, and are now empty!
So, Petra is now a completely DEAD City, for the safety and joy of the tourists...