Prefer *Derived helper functions (is_*element) than string comparison
Merge pull request #3053 from brunoabinader/use-is-element-helpers

Prefer *Derived helper functions (is_*element) than string comparison