def exists(var) -> bool:
    """
    Check if a variable exists

    Parameters
    ----------
    var : str
        Note that the argument should be in parenthesis

    Returns
    -------
    bool
    """

    return var in globals()