def is_article?(check = nil)
      return false if params[:slug].blank?
      segments = params[:slug].split('/')
      if check.blank?
        (segments[0] == Setting.get('articles_slug') && !segments[1].blank? && segments[1] != Setting.get('tag_slug') && segments[1] != Setting.get('category_slug') && @content.class != ActiveRecord::Relation) ? true : false
      else
        if !defined?(@content.size).blank?
          return false
        end
        (Setting.get('articles_slug') == segments[0] && (@content.post_title == check || @content.id == check || @content.post_slug == check) ) ? true : false
      end
    end
def is_article?(check = nil)
      return false if params[:slug].blank?
      segments = params[:slug].split('/')
      if check.blank?
        (segments[0] == Setting.get('articles_slug') && !segments[1].blank? && segments[1] != Setting.get('tag_slug') && segments[1] != Setting.get('category_slug') && @content.class != ActiveRecord::Relation) ? true : false
      else
        if !defined?(@content.size).blank?
          return false
        end
        (Setting.get('articles_slug') == segments[0] && (@content.post_title == check || @content.id == check || @content.post_slug == check) ) ? true : false
      end
    end
returns a boolean as to whether the current page is either an article or whether it is the given article provided by the check variable
 Params:
 +check+:: ID, slug, or name of the article you want to check - if this is nil it will just return if the current view is an article or not