def METHOD_NAME(self, mapper):
    for path_mapper in [
        self.path[i] for i in range(0, len(self.path), 2)
    ]:
        if path_mapper.is_mapper and \
                path_mapper.isa(mapper):
            return True
    else:
        return False