import shutil


def is_disk_full(path):
    """Check if the disk is full."""
    total, used, free = shutil.disk_usage(path)
    mib = 1000 * 1000
    if free < (50 * mib):
        return True
    else:
        return False