docs: def _parse_flags(element):
      """Parse OSM XML element for generic data.
  
      Args:
          element (etree.Element): Element to parse
  
      Returns:
          tuple: Generic OSM data for object instantiation
      """
      visible = True if element.get('visible') else False
      user = element.get('user')
      timestamp = element.get('timestamp')
      if timestamp:
          timestamp = utils.Timestamp.parse_isoformat(timestamp)
      tags = {}
      try:
          for tag in element['tag']:
              key = tag.get('k')
              value = tag.get('v')
              tags[key] = value
      except AttributeError:
          pass
  
      return visible, user, timestamp, tags