import torch


def is_torch_integer(input: torch.Tensor) -> bool:
    """Checks if tensor is a integer or not. \n
        Args:
            - input (Tensor): input tensor to be checked.
    """ 
    int_list = [torch.uint8, torch.int8, torch.int16, torch.int32, torch.int64]
    
    for int_val in int_list:
        if input.dtype == int_val:
            return True
    return False