callStackContainsAnyOf

fun callStackContainsAnyOf(vararg methodNames: String): Boolean

Inspects stack trace to figure out if one of the given method names (no class restriction) called us.