def _get_realtime_mask(flavor, image):
 (flavor_mask, image_mask) = _get_flavor_image_meta('cpu_realtime_mask', flavor, image)
 return (image_mask or flavor_mask)

def _get_realtime_mask ( flavor , image ) : ( flavor_mask , image_mask ) = _get_flavor_image_meta ( 'cpu_realtime_mask' , flavor , image ) return ( image_mask or flavor_mask )
returns realtime mask based on flavor/image meta .