has Declarations
Determines whatever the declaration has declarations.
Return
true if the declaration has any declaration, false otherwise.
Parameters
include Nested
Specifies whether to include nested declarations in the check (optional, default is true).
include Local
Specifies whether to include local declarations in the check (optional, default is true).