Unify the element status check