if_empty (cargo): Replace if/else checks for emptyness with a simple method call
Keywords: empty|is_empty|defensive-programming|rust|str|string