def has_extension(path):
    """check whether path has extension
    maybe also validify the extention accroding to the list
    [Common File Extensions](https://fileinfo.com/filetypes/common)
    """
    last_part = path.split('/')[-1]
    splits = last_part.split('.')
    return len(splits) >= 2 and splits[-1]
