Create emptyInventory.java

With this snippt you can check if the player has an empty inventory.