code: @Override
      public boolean layoutExists(LayoutIdentifier layout) {
          return getLayouts(layout.shared).contains(layout.name);
      }
docs: Returns true if the specified layout exists.
  
  @param layout The layout identifier.
  @return True if layout exists.