input/logictree: more robust and DRY way to check if GMPE is available
input/logictree: more robust and DRY way to check if GMPE is available

gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine