PIM-2438 : add implementation of empty for media filter