def isPipeMany(name, entity): if name in entity.pipes: props = entity.pipes[name] return "many" in props return False