A certificate issued by a municipality that determines whether a structure meets building codes and is safe for habitation.