I created a helper method so we don't have use this very long condition and you'll find them in the ApplicationHelper =)