import re


def check_if_partial(comments):
    """
    Checks if comments contain info about Dat being a part of a series of dats (i.e. two part entropy scans where first
    part is wide and second part is narrow with more repeats)

    Args:
        comments (string): Sweeplogs comments (where info on part#of# should be found)
    Returns:
        bool: True or False
    """
    assert type(comments) == str
    comments = comments.split(',')
    comments = [com.strip() for com in comments]
    part_comment = [com for com in comments if re.match('part*', com)]
    if part_comment:
        return True
    else:
        return False