def image_meta(system_metadata):
 image_meta = {}
 for (md_key, md_value) in system_metadata.items():
  if md_key.startswith('image_'):
   image_meta[md_key[6:]] = md_value
 return image_meta

def image_meta ( system_metadata ) : image_meta = { } for ( md_key , md_value ) in system_metadata . items ( ) : if md_key . startswith ( 'image_' ) : image_meta [ md_key [ 6 : ] ] = md_value return image_meta
format image metadata for use in notifications from the instance system metadata .