def need_name(dictionary, raise_error=True):
 return key_checker(['name'])(dictionary, raise_error)

def need_name ( dictionary , raise_error = True ) : return key_checker ( [ 'name' ] ) ( dictionary , raise_error )
returns whether the name key exists in the given dictionary .