has Properties
Determines whatever the declaration has properties.
Return
true if the declaration has any property, false otherwise.
Parameters
include Nested
Specifies whether to include nested properties in the check (optional, default is true).