extract contains_erb? logic from lookup keys
|Assigned To:||Tomer Brisker|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/4147|
|Velocity based estimate||-|
It is not specific to lookup keys and actually duplicated in a validator.
The logic could just be moved to the String core extension.