helpers for checking object persistence