def NormalizeAndTypeCheckKeys(keys):
 (keys, multiple) = NormalizeAndTypeCheck(keys, (basestring, Entity, Key))
 keys = [_GetCompleteKeyOrError(key) for key in keys]
 return (keys, multiple)

def NormalizeAndTypeCheckKeys ( keys ) : ( keys , multiple ) = NormalizeAndTypeCheck ( keys , ( basestring , Entity , Key ) ) keys = [ _GetCompleteKeyOrError ( key ) for key in keys ] return ( keys , multiple )
normalizes and type checks that the given argument is a valid key or keys .