请补充以下代码片段，使表格检查程序能够运行：

```python
def is_valid_table(table):
        """检查表格是否有效"""
        for row in table:
            # TODO: 补充完整
            return False
```
user
```python
def is_valid_table(table):
    """检查表格是否有效"""
    for row in table:
        if not all(isinstance(cell, (int, float)) for cell in row):
            return False
    return True
```
assistant