public boolean hasSpecialMeasures(String value) { 
      if (this.specialMeasures == null)
        return false;
      for (StringType v : this.specialMeasures)
        if (v.getValue().equals(value)) // string
          return true;
      return false;
    }
public boolean hasSpecialMeasures ( String value ) { if ( this . specialMeasures == null ) return false ; for ( StringType v : this . specialMeasures ) if ( v . getValue ( ) . equals ( value ) ) return true ; return false ; }
@param value {@link #specialMeasures} (Whether the Medicinal Product is subject to special measures for regulatory reasons.)