Returns whether any of the following are true
-
There are any authors in the feed
-
If the parent element has an author and the check_parent
parameter was given.
-
There is a source element that has an author
def have_author?(check_parent=true)
authors.any? {|author| !author.to_s.empty?} or
(check_parent and @parent and @parent.have_author?) or
(source and source.have_author?)
end