@Override
    public boolean layoutExists(LayoutIdentifier layout) {
        return getLayouts(layout.shared).contains(layout.name);
    }
@ Override public boolean layoutExists ( LayoutIdentifier layout ) { return getLayouts ( layout . shared ) . contains ( layout . name ) ; }
Returns true if the specified layout exists.

@param layout The layout identifier.
@return True if layout exists.