add a method for checking that tags match between two features