def _get_server_id(servers, identity):
 for server in servers['items']:
  if (identity in (server['properties']['name'], server['id'])):
   return server['id']
 return None

def _get_server_id ( servers , identity ) : for server in servers [ 'items' ] : if ( identity in ( server [ 'properties' ] [ 'name' ] , server [ 'id' ] ) ) : return server [ 'id' ] return None
fetch and return server uuid by server name if found .