from typing import Any


def is_byte_data(data: Any):
    """
    Checks if the given data is of type byte

    :param data: The data to check
    :return: Whether the data is of type bytes or not
    """
    return type(data) is bytes