import re


def is_variable(text):
    """
    Checks if the given string is a variable in the format
    ${*}

    Args:
        text (str): The text which should be checked
    Returns
        str: If the text contains a variable
    """
    return re.match(r"(\${.*})", text) is not None