Check whether a rule has any declarations
Check whether a rule has any declarations

It's safer to check if there are no declarations as opposed to the
existence of rulesets as this allows comment nodes to exist. Plus this
reads a little better as this was the intent all along

postcss/postcss-bem-linter