def _matches(self, item):
        """
        Check if matcher matches item

        :param item: object to match against
        :returns: True if matching, otherwise False
        :rtype: Boolean
        """
        return item.inventory in self.item
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/matchers/inventory.py/IsInInventoryMatcher._matches/swapped operands of `in`