```ruby
module ApplicationHelper
  def is_ramsar_instance?
    Rails.root.to_s.include?('API')
  end
end
```

Make sure methods checks for ramsar instance
user
```ruby
module ApplicationHelper
  def is_ramsar_instance?
    Rails.root.to_s.include?('ramsar')
  end
end
```
assistant