Moved element predicates to ElemFunctions