Utility methods to validate request parameters