add has_title? matcher

discussion is here #844