Response format for checking a function's validity.
Error message if validation failed, or null if successful
Whether the function code is valid
Response format for checking a function's validity.