def get_mcp_version(driver, location):
 location = driver.ex_get_location_by_id(location)
 if ('MCP 2.0' in location.name):
  return '2.0'
 return '1.0'

def get_mcp_version ( driver , location ) : location = driver . ex_get_location_by_id ( location ) if ( 'MCP 2.0' in location . name ) : return '2.0' return '1.0'
get a locations mcp version .