hasInnerModifier

Determines whatever declaration has inner modifier.