class RuboCop::Cop::Chef::Ruby::UnlessDefinedRequire

Rubygems is VERY slow to require gems even if they’ve already been loaded. To work around this wrap your require statement with an ‘if defined?()` check.