Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
source?(name)
public
Checks if any plugin declares the source
# File lib/bundler/plugin.rb, line 134
def source?(name)
!index.source_plugin(name.to_s).nil?
end