Understanding the validity of an occupancy certificate