created iselement function

Created iselement function that returns true for elements
"(s)" is not needed here