def is_valid_network_response_code(self, code, task):
        """
        Answer the question: if the response could be handled via
        usual task handler or the task faield and should be processed as error.
        """

        return (400 < code or code == 404 or
                code in task.valid_status)
dataset/ETHPy150Open lorien/grab/grab/spider/base.py/Spider.is_valid_network_response_code/swapped operands of `<`