Additional matcher for testing whether an object matches a fragment of attributes