@staticmethod
def check_const_input(arg_name, arg_value):
    """Check valid value."""
    if arg_value is None:
        raise ValueError(
            f'The `{arg_name}` must be a const input, but got {arg_value}.')
