ElementPresent condition refactored