Returns true if the given context is not null and can be used for painting.
context_management
See Implementation
Returns true if the given context is not null and can be used for painting.