Adapted is_map to new keyword representation