def EntityListKind(keylist):
 kinds = map(EntityKind, keylist)
 unique_kinds = set(kinds)
 numkinds = len(unique_kinds)
 if (numkinds > 1):
  return 'Multi'
 elif (numkinds == 1):
  return unique_kinds.pop()
 else:
  return 'None'

def EntityListKind ( keylist ) : kinds = map ( EntityKind , keylist ) unique_kinds = set ( kinds ) numkinds = len ( unique_kinds ) if ( numkinds > 1 ) : return 'Multi' elif ( numkinds == 1 ) : return unique_kinds . pop ( ) else : return 'None'
given list of entity keys .