Check if "use_inline_resources" method is defined

Can't use mercurial with chef < 11