FExternAnalysisContext::CheckStage

Utility function that checks whether the given Stage is within an allowed stages mask.