Returns whether this detector applies to the given folder type. This
allows the detectors to be pruned from iteration, so for example when we
are analyzing a string value file we don't need to look up detectors
related to layout.
folderType - the folder type to be visited
true if this detector can apply to resources in folders of the