def tool_shed_is_this_tool_shed(toolshed_base_url):
 cleaned_toolshed_base_url = common_util.remove_protocol_from_tool_shed_url(toolshed_base_url)
 cleaned_tool_shed = common_util.remove_protocol_from_tool_shed_url(str(url_for('/', qualified=True)))
 return (cleaned_toolshed_base_url == cleaned_tool_shed)

def tool_shed_is_this_tool_shed ( toolshed_base_url ) : cleaned_toolshed_base_url = common_util . remove_protocol_from_tool_shed_url ( toolshed_base_url ) cleaned_tool_shed = common_util . remove_protocol_from_tool_shed_url ( str ( url_for ( '/' , qualified = True ) ) ) return ( cleaned_toolshed_base_url == cleaned_tool_shed )
determine if a tool shed is the current tool shed .