public boolean isLayer(GridRecord gr) {
    if (cust != null) {
      return cust.isLayer( gr.getLevelType1());
    }

    if (gr.getLevel2() == 0) {
      return false;
    }
    return true;
  }
public boolean isLayer(GridRecord gr) {
    if (cust != null) {
      return cust.isLayer( gr.getLevelType1());
    }

    if (gr.getLevel2() == 0) {
      return false;
    }
    return true;
  }
public boolean isLayer ( GridRecord gr ) { if ( cust != null ) { return cust . isLayer ( gr . getLevelType1 ( ) ) ; } if ( gr . getLevel2 ( ) == 0 ) { return false ; } return true ; }
Is this a layer?

@param gr record to check
@return true if a layer
Is this a layer?