What is the best way to judge whether asset exists by given path?

Is there some api of assetdatabase to do this?

Can you simply try to Resources.Load it, and see if you get back null?

It works. But I dont need to Instantiate an entity nor load it into memory…

private string TextMeshProEssentialsDir = “Packages/com.unity.textmeshpro/Package Resources/TMP Essential Resources.unitypackage”;
if (File.Exists(TextMeshProEssentialsDir)){}