def check_attributes_on_none(*attributes):
    """
    Check class attributes on None.

    :param Iterable attributes: Attributes names for check.

    :return: Checking class.
    :rtype: Callable

    """
    def class_decorator(cls):
        for attr_name in attributes:
            if getattr(cls, attr_name, None) is None:
                raise AttributeError(
                    'The attribute `{}` in class `{}` not configure. '
                    'Please check your class.'.format(attr_name, cls)
                )
        return cls
    return class_decorator