Yes, probably together with the IsFunction method:
B4X:
Dim this As BANanoObject
this.Initialize("this") ' get the current class
Dim func As BANanoObject
func = this.GetFunction("getnextid") ' lowercased if it is a B4J method
Log(BANano.IsFunction(func))