Returns whether the object owns the file descriptor, i.e., whether it closes it when it goes out of scope.
fn is_owned(&self) -> bool