Use a different name of the method to check if sanitize is enabled in check task.
Merge branch 'rename_sanitize_in_check_task' into 'master'

Rename sanitize in check task

This is to prevent the name clash between `sanitize_helper.rb` method sanitize and the method used to check if env variable is set in rake task.

See merge request !1336