protected boolean isProperty(String device, String property) {
    if (this.device.equals(device)) {
      if ( (property == null) && (this.property == null) ) {
        return true;
      }
      if ( (property == null) && (this.property != null) ) {
        return false;
      }
      if ( (property != null) && (this.property == null) ) {
        return false;
      }
      if (this.property.equals(property)) {
        return true;
      }
    }

    return false;
  }