def is_brand_exist(title): category = Brand.all().filter('title =', title) if category.count(): return True return False