Region::isActive from database example