Added function to check optional string for emptyness