Personification is a figure of speech where animals, ideas or inorganic objects are given human characteristics. The sentence that shows personifiication is
Almost the mighty city is asleep. Asleep is a characteristic given to humans or animals, not to a city
It means that New York is a city where activities are performed 24 hours a day