has_source_yaml

EditFrontMatter.has_source_yaml() → bool[source]

Checks if the yaml is empty after a call to readFile()

Note

This return value does not rely on fmatter since that attribute is subject to change once readFile() is called.

Returns

  • True if the original source file data did have a yaml section

  • False if the original source file data did not have a yaml section