The if statements are testing whether these particular library files have already been added to the list of scripts/styles that will be included on the page, so that multiple link/script tags aren't created for the same files.
If the files have already been added by previously calling the attach function, that is entirely fine, and not an issue.
The if statements are testing whether these particular library files have already been added to the list of scripts/styles that will be included on the page, so that multiple link/script tags aren't created for the same files.
If the files have already been added by previously calling the attach function, that is entirely fine, and not an issue.