django query exists or code example
Example: django queryset exists
if some_queryset.exists():
print("There is at least one object in some_queryset")
if some_queryset.exists():
print("There is at least one object in some_queryset")