'Determine if an E-Series snapshot image is part of a cgsnapshot'

def _is_cgsnapshot(self, snapshot_image):

    cg_id = snapshot_image.get('consistencyGroupId')
    return (not ((cg_id is None) or (utils.NULL_REF == cg_id)))
