With this action you can get the ID value of the font currently assigned for drawing. The value returned will be either -1 for no font assigned, or a value >= 0 that represents a font constant from the resource tree.
The above action block code checks the current font being used for drawing, and if it's not the given resource, then it is set to that resource.