I tried to make this more readable with spacing, but not sure if this is helpful or it would be better to extract each `include?` check out to a method