Function is_meth_event

ooodev.events.lo_events.is_meth_event(source, meth)[source]

Gets if event source is the same as meth. This method for for core events.

Parameters:
  • source (str) – source as str

  • meth (callable) – method to test.

Returns:

True if event is raised by meth; Otherwise; False

Return type:

bool