human
Complete this python program:
def list_from_multiproperty(*external_names):
assistant
#Here is the Python code you requested.

    """Create a list from multiple properties.
    Args:
    external_names: List of the properties to use.
    Returns:
    Transform function which returns a list of the properties in external_names.
    """
    def list_from_multiproperty_lambda(unused_value, bulkload_state):
        result = []
        for external_name in external_names:
            value = bulkload_state.current_dictionary.get(external_name)
            if value:
                result.append(value)
        return result
    return list_from_multiproperty_lambda