detecting if a player has an empty slot

how do i detect if a player has at least one empty slot in their inventory
Continue to help post