Validates if a value is empty.