if external_source is nil, it'd throw a NoMethodError. so it's basically checking 
``` ruby
if external source && (!!external_source[:path] && !!external_source[:local])
```