if a handler function is not specified, do not attempt to validate it