def matchTypes(self, type_uris):
        """Query this endpoint to see if it has any of the given type
        URIs. This is useful for implementing other endpoint classes
        that e.g. need to check for the presence of multiple versions
        of a single protocol.

        @param type_uris: The URIs that you wish to check
        @type type_uris: iterable of str

        @return: all types that are in both in type_uris and
            self.type_uris
        """
        return [uri for uri in type_uris if self.type_uris in uri]
dataset/ETHPy150Open CollabQ/CollabQ/openid/yadis/filters.py/BasicServiceEndpoint.matchTypes/swapped operands of `in`