Improve the performance of assemble when parameter_binds is a list of empty dicts (#8407)
Improve the performance of assemble when parameter_binds is a list of empty dicts (#8407)

* Fix the condition

* Update qiskit/compiler/assembler.py

* fix lint

Co-authored-by: mergify[bot] <b09a6ee808b67e98a221404e7aaa52e0398a4954@users.noreply.github.com>
QISKit/qiskit-sdk-py,QISKit/qiskit-sdk-py,QISKit/qiskit-sdk-py