struct buyer{ uint amount; Status status; } mapping(address=>buyer) public buyers; mapping(uint=>address) buyerIndex; uint publi
Instead of using one of the values or creating an extra boolean, you can check for the byte size of the structure.
boolean
byte
structure
if (bytes(buyers[msg.sender]).length > 0) { // buyer exists. }