def is_set(parameter: str):
    """
    Checks if a given parameter exists and is not empty.

    :param parameter: param to check for
    :return: if param is not None and not empty
    """
    return parameter and parameter != ""