hasCompanionModifier

Determines whatever the declaration has a companion modifier.