Added active method to determine if post is active or not.