```python
def test_distinct(data):
    """
    Determines whether all the numbers in a list are distinct.

    Args:
        data: A list of numbers.

    Returns:
        True if all numbers are distinct, False otherwise.
    """
    return len(data) == len(set(data))

```