Some places to look to determine a source's purpose:
Books: Check the preface, introduction, or back of the book
Magazines and Newspapers: What section is it in? News, Style, Opinion, Letters to the Editor?
Journals: Check the abstract at the beginning of the article.
Websites: Check the website's "About Us" section to find out the purpose or mission of the site. The domain (e.g., .com, .edu, .org, .gov) can also help determine the purpose of the site.