We always add at least the Trigger.doHLT flag now so the hasCategory check is redundant.
Trigger.doHLT
hasCategory