Wouldn't it be enough to check if the specified bug is marked as duplicate and then get the related bug number to check against?
Wouldn't it be enough to check if the specified bug is marked as duplicate and then get the related bug number to check against?