def node_method?(meth, cookbook_dir)
      chef_dsl_methods.include?(meth) || meth == :set || meth == :set_unless ||
        patched_node_method?(meth, cookbook_dir)
    end
def node_method?(meth, cookbook_dir)
      chef_dsl_methods.include?(meth) || meth == :set || meth == :set_unless ||
        patched_node_method?(meth, cookbook_dir)
    end
check to see if the passed method is a node method
 we generally look this up from the chef DSL data we have
 but we specifically check for 'set' and 'set_unless' since
 those exist in cookbooks, but are not longer part of chef 14+
 this prevents false positives in FC019 anytime node.set is found