The type of a response status code validate callback.
typedef ValidateStatus = bool Function(int? status);