Adds functionality to actually check whether a requirement has already been imported.