Check if fragement has a to_str representation