hasLocalDeclarations

Determines whatever the declaration has local declarations.

Return

true if the declaration has any local declaration, false otherwise.