```python
def check_type(test_tuple):
    """
    Checks if all elements in a tuple have the same data type.
    """
    # A tuple with 0 or 1 elements trivially has all elements of the same type.
    if len(test_tuple) <= 1:
        return True

    # Get the type of the first element to compare against.
    first_element_type = type(test_tuple[0])

    # Check if all other elements in the tuple have the same type.
    for element in test_tuple[1:]:
        if type(element) is not first_element_type:
            return False

    # If the loop completes, all elements have the same type.
    return True

```