``contains`` Determine if an Activity exists in this Workflow. :param ActivityType activity: the Activity name :return: True if the Activity exists, False otherwise :rtype: bool
(self, activity: ActivityType)
| 384 | return activity |
| 385 | |
| 386 | def contains(self, activity: ActivityType) -> bool: |
| 387 | """ |
| 388 | ``contains`` Determine if an Activity exists in this Workflow. |
| 389 | |
| 390 | :param ActivityType activity: the Activity name |
| 391 | :return: True if the Activity exists, False otherwise |
| 392 | :rtype: bool |
| 393 | """ |
| 394 | return core.BNWorkflowContains(self.handle, str(activity)) |
| 395 | |
| 396 | def configuration(self, activity: ActivityType = "") -> str: |
| 397 | """ |
no outgoing calls
no test coverage detected