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