A code smell:
- The names of predicate methods (methods that return a boolean value) should end in a question mark. (i.e. ```Array#empty?```). Maybe the best is call the method ```is_yaml?```