/Engine/Source/Runtime/Projects/Public/ModuleDescriptor.h
Tests whether the module should be built for the given target
bool IsCompiledInConfiguration ( const [FString](API\Runtime\Core\Containers\FString) & Platform, EBuildConfiguration Configuration, const [FString](API\Runtime\Core\Containers\FString) & TargetName, EBuildTargetType TargetType, bool bBuildDeveloperTools, bool bBuildRequiresCookedData ) const