public static boolean isEditable(Element element) {

        String field = element.getAttribute(CmsGwtConstants.ATTR_DATA_FIELD);
        return (field != null) && field.contains("opencms://");
    }
public static boolean isEditable ( Element element ) { String field = element . getAttribute ( CmsGwtConstants . ATTR_DATA_FIELD ) ; return ( field != null ) && field . contains ( "opencms://" ) ; }
Checks whether the given element is annotated for inline editing.<p>

@param element the element to check

@return <code>true</code> if the given element is annotated for inline editing