def _split_attrs(attrs, second_part_keys=None):
  """Split `attrs` dictionary into two parts:
  * Dict with keys that are not in `second_part_keys`
  * Remainder dict with keys in `second_part_keys`
  """
  dict_1 = {k: v for k, v in attrs.iteritems() if k not in second_part_keys}
  dict_2 = {k: v for k, v in attrs.iteritems() if k in second_part_keys}
  return dict_1, dict_2