Refactor widget find method to use isPresent method