def any_shared(enum_one, enum_two):
if not is_collection(enum_one) or not is_collection(enum_two):<EOL><INDENT>return False<EOL><DEDENT>enum_one = enum_one if isinstance(enum_one, (set, dict)) else set(enum_one)<EOL>enum_two = enum_two if isinstance(enum_two, (set, dict)) else set(enum_two)<EOL>return any(e in enum_two for e in enum_one)<EOL>
Truthy if any element in enum_one is present in enum_two