Minecraft wiki entry for Predicate, associated text: killed_by_player—Checks if a killer_player entity exists. Invokable from advancements or loot tables, and fails when invoked from anything else.
 inverse: If true, the condition passes if killer_player is not available.