diff --git a/pystencils/simp/assignment_collection.py b/pystencils/simp/assignment_collection.py
index bf4074ed9287d5c9c77ef4776c62ceb1e4ffff4b..e4827cdbc09ccc8c6f692b86c64970e1f2b90983 100644
--- a/pystencils/simp/assignment_collection.py
+++ b/pystencils/simp/assignment_collection.py
@@ -404,6 +404,9 @@ class AssignmentCollection:
     def __eq__(self, other):
         return set(self.all_assignments) == set(other.all_assignments)
 
+    def __bool__(self):
+        return bool(self.all_assignments)
+
 
 class SymbolGen:
     """Default symbol generator producing number symbols ζ_0, ζ_1, ..."""