flake8 closing bracket - fixed.
made assertion of: __assert_exists