How to find active brush in Image Editor context? At the minute I use bpy.data.brushes['TexDraw'] in an operator, but can I find the currently active brush in UV/Image Editor?
I've found it

context.tool_settings.image_paint.brush