Fix rubocop warning 'PredicateName'