Check if repeat is enabled.