Changed boolean checks to a Is*() naming convention.