Add missing hasBar() method