AD8605

Can this be used as a comparator? and how? Thanks