Determines if path_name has a suffix of at least 'suffix'

def has_suffix(path_name, suffix):
    """
    Determines if path_name has a suffix of at least 'suffix'
    """
    if isinstance(suffix, str):
        suffix = disintegrate(suffix)

    components = disintegrate(path_name)

    for i in range(-1, -(len(suffix) + 1), -1):
        if components[i] != suffix[i]:
            break
    else:
        return True
    return False