code: public static boolean failSafeRemoveFromParent(Element element) {
          return failSafeRemove(element != null ? element.parentNode : null, element);
      }
docs: Removes the element from its parent if the element is not null and has a parent.
  
  @return {@code true} if the the element has been removed from its parent, {@code false} otherwise.