Looks useful, although needs to follow the formatting in the rest of the file (which follows the formatting of cinder itself).  Also, I don't think there is any need to return bool, if patch doesn't exist I consider that 'closed' as well.