I have a map such as:
mapping (address => bytes32) private myMap;
Later in the code, in a function, I want to ensure my sender already has an entry in that given map.
Can I do this?
require(!myMap[msg.sender], 'there is an entry in the map already!')