diff --git a/falcon/request.py b/falcon/request.py index 41027e88d..350e34371 100644 --- a/falcon/request.py +++ b/falcon/request.py @@ -1860,10 +1860,7 @@ def has_param(self, name): """ - if name in self._params: - return True - else: - return False + return name in self._params def log_error(self, message): """Write an error message to the server's log.