`@marketplace_uri && @marketplace_uri.index... ? true : false` will eliminate this little dance.