@classmethod
def is_error(cls, error_code):
    """Validates error code

        :param error_code: error code to validate
        :type error_code: int
        :return: True if error code is valid, False otherwise
        :rtype: boolean
        """
    if error_code is cls.KERNEL_DRIVER_TOO_OLD:
        return False
    if error_code is cls.OK:
        return False
    return True
