Utility function that throws a HTTPStatusException with status code "400 Bad Request" if the condition is not met.
See Implementation
Utility function that throws a HTTPStatusException with status code "400 Bad Request" if the condition is not met.