Is there a way to get recommendations ...

Is there a way to get recommendations or "references" about the landlord? My last two landlords were such jerks and I don't want that to happen again. Can I ask neighbors about the management? Will the landlord give me information to contact the last tenant who lived in the apartment?