def replace_if_exists(cond: bool,
                      repl_exists: str = "****",
                      repl_not_exists: str = "") -> str:
    """Replaces a string if the condition is met"""
    return repl_exists if cond else repl_not_exists