Check if icon is in subdirectory