def has_tool_tag(invocation):
    """
    Checks if invocation has a tool_tag in workspace info

    Args:
        invocation (Invocation)

    Returns:
        True if tool_tag exists else false
    """
    if (hasattr(invocation, 'workspace_info')
            and hasattr(invocation.workspace_info, 'tool_tag')
            and invocation.workspace_info.tool_tag != ''):
        return True
    return False