Validates function declarations declared optional.
the function declaration to validate
See Implementation
Validates function declarations declared optional.