removed ``true`` and ``false`` and used ``not a.args is ()`` instead as suggested by aaron.