/Engine/Source/Developer/SourceControl/Public/ISourceControlProvider.h
Quick check if source control is enabled. Specifically, it returns true if a source control provider is set (regardless of whether the provider is available) and false if no provider is set. So all providers except the stub DefalutSourceProvider will return true.
bool IsEnabled() const