How can you check if a type string
is empty in Solidity?
For instance this would work when testing if a string was initialized to have no characters:
string public emptyStringTest = '';
or when you would like to test if a mapping(bytes32 => string)
has a key that is initialized.
mapping(bytes32 => string) emptyStringTest;