DirectRule.contains DirectRule.contains(elements)[source] Returns True if the given elements are defined within this DirectRule.