code: def import_process_element(process_elements_dict, process_element):
          
          process_id = process_element.getAttribute(consts.Consts.id)
          process_element_attributes = {consts.Consts.id: process_element.getAttribute(consts.Consts.id),
                                        consts.Consts.name: process_element.getAttribute(consts.Consts.name)
                                        if process_element.hasAttribute(consts.Consts.name) else "",
                                        consts.Consts.is_closed: process_element.getAttribute(consts.Consts.is_closed)
                                        if process_element.hasAttribute(consts.Consts.is_closed) else "false",
                                        consts.Consts.is_executable: process_element.getAttribute(
                                            consts.Consts.is_executable)
                                        if process_element.hasAttribute(consts.Consts.is_executable) else "false",
                                        consts.Consts.process_type: process_element.getAttribute(
                                            consts.Consts.process_type)
                                        if process_element.hasAttribute(consts.Consts.process_type) else "None",
                                        consts.Consts.node_ids: []}
          process_elements_dict[process_id] = process_element_attributes
docs: Adds attributes of BPMN process element to appropriate field process_attributes.
          Diagram inner representation contains following process attributes:
  
          - id - assumed to be required in XML file, even thought BPMN 2.0 schema doesn't say so,
          - isClosed - optional parameter, default value 'false',
          - isExecutable - optional parameter, default value 'false',
          - processType - optional parameter, default value 'None',
          - node_ids - list of flow nodes IDs, associated with given process.
  
          :param process_elements_dict: dictionary that holds attribute values for imported 'process' element. Key is
             process ID, value is a dictionary of attributes,
          :param process_element: object representing a BPMN XML 'process' element.