@classmethod
def assert_value(cls, condition=False, message='error'):
    """
        Checks condition and raises ValueError if it is wrong

        :param bool condition: condition to check;
        :param string message: message for `ValueError(message)`
        :raises ValueError: if `condition` is wrong.
        """
    cls._assert(condition, ValueError(message))
