def if_callable_call_with_formatted_string(callback, formattable_string, *args):
try:<EOL><INDENT>formatted_string = formattable_string.format(*args)<EOL><DEDENT>except IndexError:<EOL><INDENT>raise ValueError("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>if callable(callback):<EOL><INDENT>callback(formatted_string)<EOL><DEDENT>
If the callback is callable, format the string with the args and make a call.
    Otherwise, do nothing.

    Args:
        callback (function): May or may not be callable.
        formattable_string (str): A string with '{}'s inserted.
        *args: A variable amount of arguments for the string formatting. Must correspond to the
        amount of '{}'s in 'formattable_string'.
    Raises:
        ValueError