hasPublicOrDefaultModifier

Determines whatever the declaration has public or no visibility modifier.