def is_required(self):
        """
        Returns True if the argument is required.

        :return: True if parameter mode is REQUIRED, False otherwise
        :rtype: bool
        """
        return self.__class__.REQUIRED != (self.__class__.REQUIRED & self.__mode)
dataset/ETHPy150Open sdispater/cleo/cleo/inputs/input_argument.py/InputArgument.is_required/operator `==` -> `!=`