# File lib/nicovideo/base.rb, line 30 def authenticated?(page) page.header['x-niconico-authflag'] != '0' end