def in_category?(categoryid, postid = nil)
    	post = obtain_record(postid)
      return false if post.blank?
    	!Post.includes(:terms => :term_anatomy).where(id: post.id, terms: { id: categoryid }, roroacms_term_anatomies: { taxonomy: 'category' }).blank?
    end
def in_category?(categoryid, postid = nil)
    	post = obtain_record(postid)
      return false if post.blank?
    	!Post.includes(:terms => :term_anatomy).where(id: post.id, terms: { id: categoryid }, roroacms_term_anatomies: { taxonomy: 'category' }).blank?
    end
returns a boolean as to wether the given post is in the given category
 Params:
 +categoryid+:: ID of the category that you want to check
 +postid+:: ID, post_slug, or post_title - if this is nil it will use the @content variable (the current page)