Add BoolFilterBuilder#hasClauses to be consitent with BoolQueryBuilder

Closes #5472