# File lib/chef/provider/package/easy_install.rb, line 32
        def install_check(name)
          check = false

          begin
            # first check to see if we can import it
            output = shell_out!("#{python_binary_path} -c \"import #{name}\"", :returns=>[0,1]).stderr
            if output.include? "ImportError"
              # then check to see if its on the path
              output = shell_out!("#{python_binary_path} -c \"import sys; print sys.path\"", :returns=>[0,1]).stdout
              if output.downcase.include? "#{name.downcase}"
                check = true
              end
            else
              check = true
            end
          rescue
            # it's probably not installed
          end

          check
        end