def remove_call_brackets(call: str):
    """Return the given string with the trailing `()` removed, if present.

    NOTE Made redundant by `str.removesuffix("()")` in Python 3.9+
    """
    if call.endswith("()"):
        return call[:-2]

    return call