Unreal Engine offers a developer tool called Material Analyzer that can analyze a given material or instance and provide suggestions. You can summon the tool from Window -> Developer Tools -> Material Analyzer.
Material Analyzer
Window
Developer Tools