code: @Override
      public boolean matches(IBond bond) {
          bond = BondRef.deref(bond);
          if (bond instanceof PharmacophoreAngleBond) {
              PharmacophoreAngleBond pbond = (PharmacophoreAngleBond) bond;
              double bondLength = round(pbond.getBondLength(), 2);
              return bondLength >= lower && bondLength <= upper;
          } else
              return false;
      }
docs: Checks whether the query angle constraint matches a target distance.
  
  This method checks whether a query constraint is satisfied by an observed
  angle (represented by a {@link org.openscience.cdk.pharmacophore.PharmacophoreAngleBond} in the target molecule.
  Note that angles are compared upto 2 decimal places.
  
  @param bond The angle relationship in a target molecule
  @return true if the target angle lies within the range of the query constraint