apt_pkg.config.find_b() returns a boolean not a string.
"find_b(key[, default=False]) → bool Return the boolean value stored at key, or the value given by the bool object default if the requested option is not set."
From apt.alioth.debian.org/python-apt-doc/library/apt_pkg.html#apt_pkg.config.find_b
So it's not a bug in unattended-upgrade-shutdown as checking for False is correct.
apt_pkg. config. find_b( ) returns a boolean not a string.
"find_b(key[, default=False]) → bool Return the boolean value stored at key, or the value given by the bool object default if the requested option is not set."
From apt.alioth. debian. org/python- apt-doc/ library/ apt_pkg. html#apt_ pkg.config. find_b
So it's not a bug in unattended- upgrade- shutdown as checking for False is correct.