Add line_is_folder function for readability