refactor present && any? into try(:any?)