in python/activation/main.py [0:0]
def extract_user_properties(self, element):
"""
Generates a dictionary containing the user properties of the element.
Args:
element: The element to be processed.
Returns:
A dictionary containing the user properties of the element.
"""
user_properties = {}
for k, v in element.items():
if k.startswith(self.user_property_prefix) and v:
user_properties[k[len(self.user_property_prefix):]] = {'value': str(v)}
return user_properties