pub fn is_empty(&self) -> bool {
        self.header.is_none()
            && self.reference_sequences.is_empty()
            && self.read_groups.is_empty()
            && self.programs.is_empty()
            && self.comments.is_empty()
    }
/// Returns whether there are no records in this SAM header.
///
/// # Examples
///
/// ```
/// use noodles_sam as sam;
///
/// let header = sam::Header::default();
/// assert!(header.is_empty());
///
/// let header = sam::Header::builder().add_comment("noodles-sam").build();
/// assert!(!header.is_empty());
/// ```
Returns whether there are no records in this SAM header.
Returns whether there are no records in this SAM header .
pub fn is_empty(&self) -> bool {
        self.header.is_none()
            && self.reference_sequences.is_empty()
            && self.read_groups.is_empty()
            && self.programs.is_empty()
            && self.comments.is_empty()
    }
pub fn is_empty ( & self ) -> bool { self . header . is_none ( ) && self . reference_sequences . is_empty ( ) && self . read_groups . is_empty ( ) && self . programs . is_empty ( ) && self . comments . is_empty ( ) }
Returns whether there are no records in this SAM header.
Returns whether there are no records in this SAM header .
&self
&self
examples
```
use noodles_sam as sam.

let header = sam::Header::default();
assert!(header.is_empty()).

let header = sam::Header::builder().add_comment("noodles-sam").build();
assert!(!header.is_empty());
```
` ` ` use noodles_sam as sam . let header = sam :: Header :: default () ; assert! ( header . is_empty () ) . let header = sam :: Header :: builder () . add_comment ( " noodles - sam " ) . build () ; assert! ( !header . is_empty () ) ; ` ` `