public boolean hasParent(String value) { 
      if (this.parent == null)
        return false;
      for (CanonicalType v : this.parent)
        if (v.getValue().equals(value)) // canonical(ActivityDefinition|PlanDefinition)
          return true;
      return false;
    }
public boolean hasParent ( String value ) { if ( this . parent == null ) return false ; for ( CanonicalType v : this . parent ) if ( v . getValue ( ) . equals ( value ) ) return true ; return false ; }
@param value {@link #parent} (Identifies a protocol or workflow that this MessageDefinition represents a step in.)