Add `is_property_cached` function