runsWithLanguageTrait

Checks, if the pass requires a specific LanguageTrait and if the current target of the pass has this trait.

Return

true, if the pass does not require a specific language trait or if it matches the RequiresLanguageTrait.