Agreed: `has_yaml_header?` makes more sense to me, too. Thanks for reviewing this, @kelvinst.