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