diff --git a/devices/devices/observation_control.py b/devices/devices/observation_control.py
index fb5f4b5a7f790300374a61824536dd5c8f4a4eff..9b60f86bb983057d023483ebaa61164bdfba5bee 100644
--- a/devices/devices/observation_control.py
+++ b/devices/devices/observation_control.py
@@ -393,7 +393,7 @@ class ObservationControl(Device):
                 time.sleep(sleep_time)
                 remaining_wait_time = remaining_wait_time - sleep_time
             # Check if the observation object is really in OFF state.
-            if stopped is True:
+            if stopped:
                 self.info_stream("Successfully stopped the observation with ID={}.".format(obs_id))
             else:
                 self.warn_stream("Could not shut down the Observation device (\"{}\") for observation ID={}.  This means that there is a chance for a memory leak.  Will continue anyway and forcefully delete the Observation object.".format(observation["device_name"], obs_id))